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

public class GroundFunctionalTermImpl extends AbstractLogicalFunctionalTermImpl
Default implementation of a ground FunctionalTerm (not specializable, nor evaluable)
Author:
Federico Ulliana
  • Constructor Details

    • GroundFunctionalTermImpl

      protected GroundFunctionalTermImpl(String function_name, List<Term> subTerms)
      Creates a ground functional term.
      Parameters:
      function_name - the function symbol
      subTerms - the ordered arguments of the function
  • Method Details

    • applySubstitution

      public Term applySubstitution(Substitution substitution, boolean evaluate)
      Description copied from interface: Term
      Applies a substitution to this term.
      Parameters:
      substitution - the substitution to apply
      evaluate - whether nested evaluable functions should be evaluated
      Returns:
      the substituted term