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

public interface SpecializableLogicalFunctionalTerm extends LogicalFunctionalTerm
A logical functional term that can specialize itself under a substitution.
  • Method Details

    • specialize

      LogicalFunctionalTerm specialize(Substitution s, boolean evaluate)
      Applies a substitution to this term while optionally evaluating nested expressions.
      Parameters:
      s - substitution
      evaluate - force the evaluation of the evaluable sub terms
      Returns:
      a new functional term where the substitution has been applied
    • specialize

      default LogicalFunctionalTerm specialize(Substitution s)
      Applies a substitution to this term without forcing evaluation.
      Parameters:
      s - substitution
      Returns:
      a new functional term where the substitution has been applied