public class FlatNot extends FlatPredList
Modifier and Type | Field and Description |
---|---|
protected Bounds |
bounds_ |
boundVars_, optimize_, predlist_
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(net.sourceforge.czt.util.Visitor<R> visitor)
Calls visitor.visitPred (preferably) or visitor.visitTerm.
|
ModeList |
chooseMode(Envir env)
Chooses the mode in which the predicate can be evaluated.
|
boolean |
inferBounds(Bounds bnds)
This let bounds information flow into the negation, but not out.
|
boolean |
nextEvaluation()
Does the actual evaluation
|
String |
toString()
This prints each FlatPred on a separate line.
|
add, addDecl, addExistsPred, addExistsSchText, addExpr, addPred, addSchText, boundVars, freeVars, getArgs, getFactory, getOutputEnvir, inferBoundsFixPoint, inferBoundsFixPoint, iterator, makeBound, makeFree, setMode, size, startEvaluation
getEnvir, getLastArg, getMode, indent, modeAllDefined, modeCollection, modeFunction, modeOneOutput, printArg, printBinOp, printLastArg, printName, printQuant
protected Bounds bounds_
public FlatNot(ZLive zlive)
public boolean inferBounds(Bounds bnds)
inferBounds
in class FlatPredList
bnds
- The database of lower and upper bounds for integer variables.public ModeList chooseMode(Envir env)
chooseMode
in class FlatPredList
public boolean nextEvaluation()
nextEvaluation
in class FlatPredList
public String toString()
FlatPredList
toString
in class FlatPredList
public <R> R accept(net.sourceforge.czt.util.Visitor<R> visitor)
FlatPred
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.