public final class FindAll extends AbstractSingleResultPredicate implements PreprocessablePredicateFactory
findall(X,P,L) - find all solutions that satisfy the goal.
findall(X,P,L) produces a list (L) of X for each possible solution of the goal
P. Succeeds with L unified to an empty list if P has no solutions.
| Constructor and Description |
|---|
FindAll() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
evaluate(Term template,
Term goal,
Term output) |
PredicateFactory |
preprocess(Term term) |
evaluate, evaluate, evaluate, evaluate, evaluate, getArithmeticOperators, getFileHandles, getKnowledgeBase, getOperands, getPredicate, getPredicates, getProjogListeners, getSpyPoints, getTermFormatter, init, isRetryable, setKnowledgeBaseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPredicate, isAlwaysCutOnBacktrack, isRetryableprotected boolean evaluate(Term template, Term goal, Term output)
evaluate in class AbstractSingleResultPredicatepublic PredicateFactory preprocess(Term term)
preprocess in interface PreprocessablePredicateFactoryCopyright © 2024. All rights reserved.