Interface ComputedAtom

All Superinterfaces:
Atom, Evaluable<Atom>, FOFormula, fr.inria.rules.dlgpemodel.api.formulas.IAtom, fr.inria.rules.dlgpemodel.api.formulas.IFormula, fr.inria.rules.dlgpemodel.api.formulas.IPredicated, fr.inria.rules.dlgpemodel.api.sentences.IPrintable, fr.inria.rules.dlgpemodel.api.formulas.IStandardAtom, Substitutable<FOFormula>, TermCompound, TermSequenceCompound
All Known Implementing Classes:
ComputedAtomImpl

public interface ComputedAtom extends Atom, Evaluable<Atom>
A computed atom is an Atom with special meaning
This kind of atom must use a full substitution of its variables to be evaluated
Author:
Florent Tornil
  • Method Details

    • eval

      Atom eval(Substitution s)
      Evaluate this atom
      Specified by:
      eval in interface Evaluable<Atom>
      Parameters:
      s - a full substitution of this atom variables.
      Returns:
      an atom
    • isComputedAtom

      default boolean isComputedAtom()
      Indicates that this atom is computed.
      Specified by:
      isComputedAtom in interface Atom
      Returns:
      true
    • getInvoker

      Invoker getInvoker()
      Returns the invoker used to evaluate this computed atom.
      Returns:
      the underlying invoker