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, setMode
getArgs, getEnvir, getLastArg, getMode, indent, modeAllDefined, modeCollection, modeFunction, modeOneOutput, printArg, printBinOp, printLastArg, printName, printQuant, startEvaluation
protected Bounds bounds_
public FlatExists(FlatPredList sch, FlatPredList body)
public boolean inferBounds(Bounds bnds)
inferBounds
in class FlatForall
bnds
- The database of lower and upper bounds for integer variables.The default implementation infers nothing and returns false.
public boolean nextEvaluation()
FlatPred
nextEvaluation
in class FlatForall
public String toString()
FlatPred
toString
in class FlatForall
public <R> R accept(net.sourceforge.czt.util.Visitor<R> visitor)
FlatPred
accept
in class FlatForall
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.