public class FlatExists extends FlatForall
| Modifier and Type | Field and Description |
|---|---|
protected Bounds |
bounds_ |
body_, bodyBounds_, bodyMode_, LOG, schBounds_, schMode_, schText_| Constructor and Description |
|---|
FlatExists(FlatPredList sch,
FlatPredList body) |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
accept(net.sourceforge.czt.util.Visitor<R> visitor)
Calls visitor.visitPred (preferably) or visitor.visitTerm.
|
boolean |
inferBounds(Bounds bnds)
This allows bounds information to flow into the Exists but not out.
|
boolean |
nextEvaluation()
Generates the next solution that satisfies this predicate.
|
String |
toString()
A default implementation of toString.
|
chooseMode, freeVars, setModegetArgs, getEnvir, getLastArg, getMode, indent, modeAllDefined, modeCollection, modeFunction, modeOneOutput, printArg, printBinOp, printLastArg, printName, printQuant, startEvaluationprotected Bounds bounds_
public FlatExists(FlatPredList sch, FlatPredList body)
public boolean inferBounds(Bounds bnds)
inferBounds in class FlatForallbnds - The database of lower and upper bounds for integer variables.The default implementation infers nothing and returns false.
public boolean nextEvaluation()
FlatPrednextEvaluation in class FlatForallpublic String toString()
FlatPredtoString in class FlatForallpublic <R> R accept(net.sourceforge.czt.util.Visitor<R> visitor)
FlatPredaccept in class FlatForallCopyright © 2003–2016 Community Z Tools Project. All rights reserved.