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> Eaccept(LogicVisitor<E> visitor)static Aggregatecreate(Formula aggregateFormula, java.util.List<Variable> groupVariables, java.util.List<AggregateBind> aggregateBinds)static Aggregatecreate(Formula aggregateFormula, Variable[] groupVariables, AggregateBind[] aggregateBinds)AggregateBindgetAggregateBind(int index)FormulagetAggregateFormula()java.util.List<AggregateBind>getAgregateBinds()VariablegetGroupVariable(int index)java.util.List<Variable>getGroupVariables()intgetNumberOfAggregateBinds()intgetNumberOfGroupVariables()Aggregatesimplify()voidtoString(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:
simplifyin classBodyFormula
-
accept
- Specified by:
acceptin classBodyFormula
-
toString
public void toString(Prefixes prefixes, java.util.function.Consumer<java.lang.String> consumer, LogicFormat logicFormat)- Specified by:
toStringin 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)
-