Class Arg

java.lang.Object
org.projog.core.predicate.AbstractSingleResultPredicate
org.projog.core.predicate.builtin.construct.Arg
All Implemented Interfaces:
KnowledgeBaseConsumer, PredicateFactory

public final class Arg extends AbstractSingleResultPredicate
arg(N,T,A) - allows access to an argument of a structure.

arg(N,T,A) provides a mechanism for accessing a specific argument of a structure. arg(N,T,A) succeeds if the Nth argument of the structure T is, or can be assigned to, A.