public final class Distinct extends AbstractSingleResultPredicate
all_different([X,Y,Z])
- enforce that none of the given CLP variables share the same value.Constructor and Description |
---|
Distinct() |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(Term arg) |
evaluate, 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
public boolean evaluate(Term arg)
evaluate
in class AbstractSingleResultPredicate
Copyright © 2024. All rights reserved.