Class GroundFunctionalTermImpl
java.lang.Object
fr.inria.rules.integraal.model.logicalElements.impl.functionalTerms.AbstractLogicalFunctionalTermImpl
fr.inria.rules.integraal.model.logicalElements.impl.functionalTerms.GroundFunctionalTermImpl
- All Implemented Interfaces:
fr.inria.rules.dlgpemodel.api.elems.ITerm, fr.inria.rules.dlgpemodel.api.sentences.IPrintable, Standardizable, LogicalFunctionalTerm, Substitutable<Term>, Term, TermCompound, TermSequenceCompound
Default implementation of a ground FunctionalTerm (not specializable, nor evaluable)
- Author:
- Federico Ulliana
-
Field Summary
Fields inherited from class AbstractLogicalFunctionalTermImpl
function_name, sub_termsFields inherited from interface fr.inria.rules.dlgpemodel.api.sentences.IPrintable
WRITER -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGroundFunctionalTermImpl(String function_name, List<Term> subTerms) Creates a ground functional term. -
Method Summary
Modifier and TypeMethodDescriptionapplySubstitution(Substitution substitution, boolean evaluate) Applies a substitution to this term.Methods inherited from class AbstractLogicalFunctionalTermImpl
equals, getFunctionName, getTermSequence, hashCode, label, toStringMethods inherited from interface fr.inria.rules.dlgpemodel.api.sentences.IPrintable
toDLGPEMethods inherited from interface LogicalFunctionalTerm
homomorphism, isFunctionalTerm, isGround, toStandardFormMethods inherited from interface Standardizable
toStandardFormMethods inherited from interface Term
applySubstitution, isConstant, isEvaluableFunction, isFrozen, isLiteral, isVariableMethods inherited from interface TermCompound
getAllNestedTerms, getConstants, getLiterals, getNestedTerms, getVariablesMethods inherited from interface TermSequenceCompound
getTerm, getTerms, homomorphism
-
Constructor Details
-
GroundFunctionalTermImpl
-
-
Method Details
-
applySubstitution
Description copied from interface:TermApplies a substitution to this term.- Parameters:
substitution- the substitution to applyevaluate- whether nested evaluable functions should be evaluated- Returns:
- the substituted term
-