Package tools.refinery.logic.term
Class UnaryTerm<R,T>
java.lang.Object
tools.refinery.logic.term.AbstractTerm<R>
tools.refinery.logic.term.UnaryTerm<R,T>
- All Implemented Interfaces:
AnyTerm,AssignedValue<R>,Term<R>
- Direct Known Subclasses:
BoolNotTerm,IntToRealTerm,IntUnaryTerm,RealToIntTerm,RealUnaryTerm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract RdoEvaluate(T bodyValue) doSubstitute(Substitution substitution, Term<T> substitutedBody) booleanequalsWithSubstitution(LiteralEqualityHelper helper, AnyTerm other) getBody()intsubstitute(Substitution substitution) Methods inherited from class tools.refinery.logic.term.AbstractTerm
equals, getType, hashCode
-
Constructor Details
-
UnaryTerm
-
-
Method Details
-
getBodyType
-
getBody
-
evaluate
-
doEvaluate
-
equalsWithSubstitution
- Specified by:
equalsWithSubstitutionin interfaceAnyTerm- Overrides:
equalsWithSubstitutionin classAbstractTerm<R>
-
hashCodeWithSubstitution
- Specified by:
hashCodeWithSubstitutionin interfaceAnyTerm- Overrides:
hashCodeWithSubstitutionin classAbstractTerm<R>
-
substitute
-
doSubstitute
-
getInputVariables
-