Class UnaryTerm<R,T>
java.lang.Object
tools.refinery.logic.term.AbstractTerm<R>
tools.refinery.logic.term.UnaryTerm<R,T>
- Direct Known Subclasses:
AbstractDomainUnaryTerm, AsIntIntervalTerm, AsRealIntervalTerm, AsTruthValueTerm, BoolNotTerm, ExpTerm, IntIntervalFromStringTerm, IntToRealTerm, IntUnaryTerm, LogTerm, MinusTerm, NotTerm, PlusTerm, RealIntervalFromStringTerm, RealToIntTerm, RealUnaryTerm, SqrtTerm, TruthValueFromStringTerm, TruthValueMayTerm, TruthValueMustTerm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconstructWithBody(Term<T> newBody) protected abstract RdoEvaluate(T bodyValue) booleanequalsWithSubstitution(LiteralEqualityHelper helper, AnyTerm other) getBody()getInputVariables(Set<? extends Variable> positiveVariablesInClause) getPrivateVariables(Set<? extends Variable> positiveVariablesInClause) intreduce()rewriteSubTerms(TermRewriter termRewriter) substitute(Substitution substitution) Methods inherited from class AbstractTerm
equals, getType, hashCode
-
Constructor Details
-
UnaryTerm
-
-
Method Details
-
getBodyType
-
getBody
-
evaluate
-
doEvaluate
-
reduce
-
equalsWithSubstitution
- Specified by:
equalsWithSubstitutionin interfaceAnyTerm- Overrides:
equalsWithSubstitutionin classAbstractTerm<R>
-
hashCodeWithSubstitution
- Specified by:
hashCodeWithSubstitutionin interfaceAnyTerm- Overrides:
hashCodeWithSubstitutionin classAbstractTerm<R>
-
rewriteSubTerms
-
substitute
-
withBody
-
constructWithBody
-
getVariables
-
getInputVariables
-
getPrivateVariables
-