Interface LogicalFormula

All Superinterfaces:
Cloneable, Comparable<Term>, Serializable, Term, ToDOM, ToJson
All Known Implementing Classes:
ArithExpr, ArithFunctionTerm, Atom, BinaryStructure, CyclicTerm, InternalActionLiteral, ListTermImpl, Literal, LiteralImpl, LogExpr, Plan, PlanBodyImpl, Pred, RelExpr, Rule, Structure, Trigger, UnnamedVar, VarTerm

public interface LogicalFormula extends Term, Cloneable
Represents a logical formula (p, p invalid input: '&' q, not p, 3 > X, ...) which can be evaluated into a truth value.
  • Method Details

    • logicalConsequence

      Iterator<Unifier> logicalConsequence(Agent ag, Unifier un)
      Checks whether the formula is a logical consequence of the belief base. Returns an iterator for all unifiers that are consequence.