Class SubList

java.lang.Object
org.projog.core.predicate.AbstractSingleResultPredicate
org.projog.core.predicate.builtin.list.SubList
All Implemented Interfaces:
KnowledgeBaseConsumer, PredicateFactory, PreprocessablePredicateFactory

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.