Class Predicate

All Implemented Interfaces:
Serializable, Cloneable

public class Predicate extends Term implements Cloneable, Serializable
Representation of predicate logical form.
See Also:
  • Constructor Details

  • Method Details

    • clone

      public Predicate clone()
      Overrides:
      clone in class Term
    • isPredicate

      public boolean isPredicate()
      Overrides:
      isPredicate in class Symbol
    • toNegatedForm

      public Predicate toNegatedForm()
      Overrides:
      toNegatedForm in class Term
    • toUntyped

      public Term toUntyped()
      Description copied from class: Symbol
      Get untyped version of this Symbol. If already untyped, returns "this".
      Overrides:
      toUntyped in class Term
      Returns:
    • copyWithNewBindings

      public Predicate copyWithNewBindings(Map<Variable,? extends Symbol> bindings)
      Similar to applyBindingMap, except this Term is not bound. Instead, a cloned version is bound and returned.
      Overrides:
      copyWithNewBindings in class Term
      Parameters:
      bindings -
      Returns:
    • copyWithNewVariableTypes

      public Predicate copyWithNewVariableTypes(Collection<Variable> typedVariables)
      Override Term's implementation to return Predicate.
      Overrides:
      copyWithNewVariableTypes in class Term
      Parameters:
      typedVariables -
      Returns: