Class Conjunction
java.lang.Object
org.projog.core.predicate.AbstractPredicateFactory
org.projog.core.predicate.builtin.compound.Conjunction
- All Implemented Interfaces:
KnowledgeBaseConsumer, PredicateFactory, PreprocessablePredicateFactory
public final class Conjunction
extends AbstractPredicateFactory
implements PreprocessablePredicateFactory
X,Y - conjunction.
X,Y specifies a conjunction of goals. X,Y succeeds if X succeeds and
Y succeeds. If X succeeds and Y fails then an attempt is made to re-satisfy
X. If X fails the entire conjunction fails.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final classprivate static final classprivate static final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PredicategetPredicate(Term arg1, Term arg2) preprocess(Term term) Methods inherited from class AbstractPredicateFactory
getArithmeticOperators, getFileHandles, getKnowledgeBase, getOperands, getPredicate, getPredicate, getPredicate, getPredicate, getPredicate, getPredicates, getProjogListeners, getSpyPoints, getTermFormatter, init, isRetryable, setKnowledgeBaseMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PredicateFactory
getPredicate, isAlwaysCutOnBacktrack, isRetryable
-
Constructor Details
-
Conjunction
public Conjunction()
-
-
Method Details
-
getPredicate
- Overrides:
getPredicatein classAbstractPredicateFactory
-
preprocess
- Specified by:
preprocessin interfacePreprocessablePredicateFactory
-