public final class NumberVars extends AbstractSingleResultPredicate
numbervars(Term,Start,End)
- unifies free variables of a term.
Unifies the free variables in Term
with a structure of the form $VAR(N)
where
N
is the number of the variable. Numbering of the variables starts with the numeric value represented by
Start
. End
is unified with the number that would of been given to the next variable.
Constructor and Description |
---|
NumberVars() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
evaluate(Term arg) |
protected boolean |
evaluate(Term arg1,
Term arg2,
Term arg3) |
evaluate, evaluate, evaluate, evaluate, getArithmeticOperators, getFileHandles, getKnowledgeBase, getOperands, getPredicate, getPredicates, getProjogListeners, getSpyPoints, getTermFormatter, init, isRetryable, setKnowledgeBase
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAlwaysCutOnBacktrack
protected boolean evaluate(Term arg)
evaluate
in class AbstractSingleResultPredicate
protected boolean evaluate(Term arg1, Term arg2, Term arg3)
evaluate
in class AbstractSingleResultPredicate
Copyright © 2024. All rights reserved.