Class RetractAll

java.lang.Object
org.projog.core.predicate.AbstractSingleResultPredicate
org.projog.core.predicate.builtin.kb.RetractAll
All Implemented Interfaces:
KnowledgeBaseConsumer, PredicateFactory

public final class RetractAll extends AbstractSingleResultPredicate
retractall(X) - remove clauses from the knowledge base.

All clauses that X matches are removed from the knowledge base. X must be suitably instantiated that the predicate of the clause can be determined.