public final class Flatten extends AbstractSingleResultPredicate
flatten(X,Y)
- flattens a nested list.
Flattens the nested list represented by X
and attempts to unify it with Y
.
Constructor and Description |
---|
Flatten() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
evaluate(Term original,
Term expected) |
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
protected boolean evaluate(Term original, Term expected)
evaluate
in class AbstractSingleResultPredicate
Copyright © 2024. All rights reserved.