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) boolean
equalsWithSubstitution
(LiteralEqualityHelper helper, AnyTerm other) getBody()
int
rewriteSubTerms
(TermRewriter termRewriter) substitute
(Substitution substitution) toString()
withArguments
(Constraint newTarget, List<Variable> newArguments) Methods inherited from class tools.refinery.store.reasoning.literal.PartialCallTerm
getConcreteness, orElseConcreteness
Methods inherited from class tools.refinery.logic.term.AbstractCallTerm
evaluate, getArguments, getArgumentsOfDirection, getInputVariables, getPrivateVariables, getTarget, getVariables, withTarget
Methods inherited from class tools.refinery.logic.term.AbstractTerm
equals, getType, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
doSubstitute
in classAbstractCallTerm<A extends AbstractValue<A,
C>>
-
withArguments
- Specified by:
withArguments
in classAbstractCallTerm<A extends AbstractValue<A,
C>>
-
equalsWithSubstitution
- Specified by:
equalsWithSubstitution
in interfaceAnyTerm
- Overrides:
equalsWithSubstitution
in classAbstractCallTerm<A extends AbstractValue<A,
C>>
-
hashCodeWithSubstitution
- Specified by:
hashCodeWithSubstitution
in interfaceAnyTerm
- Overrides:
hashCodeWithSubstitution
in classAbstractCallTerm<A extends AbstractValue<A,
C>>
-
rewriteSubTerms
- Specified by:
rewriteSubTerms
in interfaceAnyTerm
- Specified by:
rewriteSubTerms
in interfaceTerm<A extends AbstractValue<A,
C>> - Overrides:
rewriteSubTerms
in classAbstractCallTerm<A extends AbstractValue<A,
C>>
-
substitute
- Specified by:
substitute
in interfaceAnyTerm
- Specified by:
substitute
in interfaceTerm<A extends AbstractValue<A,
C>> - Overrides:
substitute
in classAbstractCallTerm<A extends AbstractValue<A,
C>>
-
withBody
-
toString
-