public final class SubList extends AbstractSingleResultPredicate implements PreprocessablePredicateFactory
include(X,Y,Z) - filters a list by a goal.
include(X,Y,Z) succeeds if the list Z consists of the elements of the list Y
for which the goal X can be successfully applied.
| Constructor and Description |
|---|
SubList() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
evaluate(Term partiallyAppliedFunction,
Term args,
Term filteredOutput) |
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 partiallyAppliedFunction, Term args, Term filteredOutput)
evaluate in class AbstractSingleResultPredicatepublic PredicateFactory preprocess(Term term)
preprocess in interface PreprocessablePredicateFactoryCopyright © 2024. All rights reserved.