Interface SpecializableLogicalFunctionalTerm
- All Superinterfaces:
fr.inria.rules.dlgpemodel.api.sentences.IPrintable, fr.inria.rules.dlgpemodel.api.elems.ITerm, LogicalFunctionalTerm, Standardizable, Substitutable<Term>, Term, TermCompound, TermSequenceCompound
- All Known Implementing Classes:
SpecializableLogicalFunctionalTermImpl
A logical functional term that can specialize itself under a substitution.
-
Field Summary
Fields inherited from interface fr.inria.rules.dlgpemodel.api.sentences.IPrintable
WRITER -
Method Summary
Modifier and TypeMethodDescriptiondefault LogicalFunctionalTermApplies a substitution to this term without forcing evaluation.specialize(Substitution s, boolean evaluate) Applies a substitution to this term while optionally evaluating nested expressions.Methods inherited from interface fr.inria.rules.dlgpemodel.api.sentences.IPrintable
toDLGPEMethods inherited from interface LogicalFunctionalTerm
getFunctionName, homomorphism, isFunctionalTerm, isGround, toStandardFormMethods inherited from interface Standardizable
toStandardFormMethods inherited from interface Term
applySubstitution, applySubstitution, isConstant, isEvaluableFunction, isFrozen, isLiteral, isVariable, labelMethods inherited from interface TermCompound
getAllNestedTerms, getConstants, getLiterals, getNestedTerms, getVariablesMethods inherited from interface TermSequenceCompound
getTerm, getTerms, getTermSequence, homomorphism
-
Method Details
-
specialize
Applies a substitution to this term while optionally evaluating nested expressions.- Parameters:
s- substitutionevaluate- force the evaluation of the evaluable sub terms- Returns:
- a new functional term where the substitution has been applied
-
specialize
Applies a substitution to this term without forcing evaluation.- Parameters:
s- substitution- Returns:
- a new functional term where the substitution has been applied
-