Package tech.oxfordsemantic.jrdfox.logic
Class Aggregate
java.lang.Object
tech.oxfordsemantic.jrdfox.logic.Formula
tech.oxfordsemantic.jrdfox.logic.BodyFormula
tech.oxfordsemantic.jrdfox.logic.Aggregate
- All Implemented Interfaces:
java.io.Serializable
public class Aggregate extends BodyFormula
- See Also:
- Serialized Form
-
Field Summary
-
Method Summary
Modifier and Type Method Description <E> E
accept(LogicVisitor<E> visitor)
static Aggregate
create(Formula aggregateFormula, java.util.List<Variable> groupVariables, java.util.List<AggregateBind> aggregateBinds)
static Aggregate
create(Formula aggregateFormula, Variable[] groupVariables, AggregateBind[] aggregateBinds)
AggregateBind
getAggregateBind(int index)
Formula
getAggregateFormula()
java.util.List<AggregateBind>
getAgregateBinds()
Variable
getGroupVariable(int index)
java.util.List<Variable>
getGroupVariables()
int
getNumberOfAggregateBinds()
int
getNumberOfGroupVariables()
Aggregate
simplify()
void
toString(Prefixes prefixes, java.util.function.Consumer<java.lang.String> consumer, LogicFormat logicFormat)
Methods inherited from class tech.oxfordsemantic.jrdfox.logic.BodyFormula
getArgument, getArguments, getNumberOfArguments
-
Method Details
-
getAggregateFormula
-
getGroupVariables
-
getNumberOfGroupVariables
public int getNumberOfGroupVariables() -
getGroupVariable
-
getAgregateBinds
-
getNumberOfAggregateBinds
public int getNumberOfAggregateBinds() -
getAggregateBind
-
simplify
- Specified by:
simplify
in classBodyFormula
-
accept
- Specified by:
accept
in classBodyFormula
-
toString
public void toString(Prefixes prefixes, java.util.function.Consumer<java.lang.String> consumer, LogicFormat logicFormat)- Specified by:
toString
in classBodyFormula
-
create
public static Aggregate create(Formula aggregateFormula, java.util.List<Variable> groupVariables, java.util.List<AggregateBind> aggregateBinds) -
create
public static Aggregate create(Formula aggregateFormula, Variable[] groupVariables, AggregateBind[] aggregateBinds)
-