Class PartialAggregationTerm<A extends AbstractValue<A,C>,C,A2 extends AbstractValue<A2,C2>,C2>
java.lang.Object
tools.refinery.logic.term.AbstractTerm<A>
tools.refinery.logic.term.AbstractCallTerm<A>
tools.refinery.store.reasoning.literal.PartialCallTerm<A>
tools.refinery.store.reasoning.literal.PartialAggregationTerm<A,C,A2,C2>
- All Implemented Interfaces:
AnyTerm,Term<A>,PartialTerm<A>
public class PartialAggregationTerm<A extends AbstractValue<A,C>,C,A2 extends AbstractValue<A2,C2>,C2>
extends PartialCallTerm<A>
-
Constructor Summary
ConstructorsConstructorDescriptionPartialAggregationTerm(PartialAggregator<A, C, A2, C2> aggregator, Constraint target, List<Variable> arguments, Term<A2> body) -
Method Summary
Modifier and TypeMethodDescriptiondoSubstitute(Substitution substitution, List<Variable> substitutedArguments) booleanequalsWithSubstitution(LiteralEqualityHelper helper, AnyTerm other) getBody()intrewriteSubTerms(TermRewriter termRewriter) substitute(Substitution substitution) toString()withArguments(Constraint newTarget, List<Variable> newArguments) Methods inherited from class tools.refinery.store.reasoning.literal.PartialCallTerm
getConcreteness, orElseConcretenessMethods inherited from class tools.refinery.logic.term.AbstractCallTerm
evaluate, getArguments, getArgumentsOfDirection, getInputVariables, getPrivateVariables, getTarget, getVariables, withTargetMethods inherited from class tools.refinery.logic.term.AbstractTerm
equals, getType, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface tools.refinery.logic.term.AnyTerm
asType, getInputVariables, getPrivateVariables, getVariables
-
Constructor Details
-
PartialAggregationTerm
public PartialAggregationTerm(PartialAggregator<A, C, A2, C2> aggregator, Constraint target, List<Variable> arguments, Term<A2> body)
-
-
Method Details
-
getAggregator
-
getBody
-
doSubstitute
- Specified by:
doSubstitutein classAbstractCallTerm<A extends AbstractValue<A,C>>
-
withArguments
- Specified by:
withArgumentsin classAbstractCallTerm<A extends AbstractValue<A,C>>
-
equalsWithSubstitution
- Specified by:
equalsWithSubstitutionin interfaceAnyTerm- Overrides:
equalsWithSubstitutionin classAbstractCallTerm<A extends AbstractValue<A,C>>
-
hashCodeWithSubstitution
- Specified by:
hashCodeWithSubstitutionin interfaceAnyTerm- Overrides:
hashCodeWithSubstitutionin classAbstractCallTerm<A extends AbstractValue<A,C>>
-
rewriteSubTerms
- Specified by:
rewriteSubTermsin interfaceAnyTerm- Specified by:
rewriteSubTermsin interfaceTerm<A extends AbstractValue<A,C>> - Overrides:
rewriteSubTermsin classAbstractCallTerm<A extends AbstractValue<A,C>>
-
substitute
- Specified by:
substitutein interfaceAnyTerm- Specified by:
substitutein interfaceTerm<A extends AbstractValue<A,C>> - Overrides:
substitutein classAbstractCallTerm<A extends AbstractValue<A,C>>
-
withBody
-
toString
-