Class MutablePredicate

java.lang.Object
edu.upc.fib.inlab.imp.kse.logics.logicschema.domain.Predicate
edu.upc.fib.inlab.imp.kse.logics.logicschema.domain.MutablePredicate

public class MutablePredicate extends Predicate
Mutable implementation of a logic predicate. The logic predicate is mutable in the sense that we can add derivation rules to it at runtime.
  • Constructor Details

    • MutablePredicate

      public MutablePredicate(String name, int arity)
    • MutablePredicate

      public MutablePredicate(String name, int arity, List<Query> definitionQueries)
  • Method Details

    • addDerivationRule

      public void addDerivationRule(Query definitionRule)