Class AggregateAtom

java.lang.Object
All Implemented Interfaces:
Formula, ComplexLogicalFormula, LogicStructure, SimpleLogicalFormula

public class AggregateAtom extends ASPBodyElement
This class represents an aggregate. Aggregates are functions that range over sets of terms and literals and evaluate to some value. For example, using the aggregate function #count one can easily express "the number of employees of a department has to be greater than 0".
An aggregate function together with the terms and literals it ranges over and a comparison (like >= 0) is called an aggregate atom and can appear in the body of a rule.
If you want to use an aggregate atom as the head of a rule (as is allowed in some standards like clingo), use AggregateHead
Author:
Tim Janus, Thomas Vengels, Anna Gessler