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.
Constructor and Description |
---|
Conjunction() |
Modifier and Type | Method and Description |
---|---|
protected Predicate |
getPredicate(Term arg1,
Term arg2) |
PredicateFactory |
preprocess(Term term) |
getArithmeticOperators, getFileHandles, getKnowledgeBase, getOperands, getPredicate, getPredicate, getPredicate, getPredicate, getPredicate, getPredicates, getProjogListeners, getSpyPoints, getTermFormatter, init, isRetryable, setKnowledgeBase
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPredicate, isAlwaysCutOnBacktrack, isRetryable
protected Predicate getPredicate(Term arg1, Term arg2)
getPredicate
in class AbstractPredicateFactory
public PredicateFactory preprocess(Term term)
preprocess
in interface PreprocessablePredicateFactory
Copyright © 2024. All rights reserved.