Package tools.refinery.logic.term
Class BinaryTerm<R,T1,T2>
java.lang.Object
tools.refinery.logic.term.AbstractTerm<R>
tools.refinery.logic.term.BinaryTerm<R,T1,T2>
- All Implemented Interfaces:
AnyTerm,AssignedValue<R>,Term<R>
- Direct Known Subclasses:
BoolBinaryTerm,ComparisonTerm,IntBinaryTerm,RealBinaryTerm,UpperCardinalityBinaryTerm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract RdoEvaluate(T1 leftValue, T2 rightValue) doSubstitute(Substitution substitution, Term<T1> substitutedLeft, Term<T2> substitutedRight) booleanequalsWithSubstitution(LiteralEqualityHelper helper, AnyTerm other) getLeft()getRight()intsubstitute(Substitution substitution) Methods inherited from class tools.refinery.logic.term.AbstractTerm
equals, getType, hashCode
-
Constructor Details
-
BinaryTerm
-
-
Method Details
-
getLeftType
-
getRightType
-
getLeft
-
getRight
-
evaluate
-
doEvaluate
-
equalsWithSubstitution
- Specified by:
equalsWithSubstitutionin interfaceAnyTerm- Overrides:
equalsWithSubstitutionin classAbstractTerm<R>
-
hashCodeWithSubstitution
- Specified by:
hashCodeWithSubstitutionin interfaceAnyTerm- Overrides:
hashCodeWithSubstitutionin classAbstractTerm<R>
-
substitute
-
doSubstitute
-
getInputVariables
-