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
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract R
doEvaluate
(T bodyValue) doSubstitute
(Substitution substitution, Term<T> substitutedBody) boolean
equalsWithSubstitution
(LiteralEqualityHelper helper, AnyTerm other) getBody()
int
substitute
(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:
equalsWithSubstitution
in interfaceAnyTerm
- Overrides:
equalsWithSubstitution
in classAbstractTerm<R>
-
hashCodeWithSubstitution
- Specified by:
hashCodeWithSubstitution
in interfaceAnyTerm
- Overrides:
hashCodeWithSubstitution
in classAbstractTerm<R>
-
substitute
-
doSubstitute
-
getInputVariables
-