public class TraversalProcess extends Object
FormulaManager.visitRecursively(org.sosy_lab.java_smt.api.Formula, org.sosy_lab.java_smt.api.visitors.FormulaVisitor<org.sosy_lab.java_smt.api.visitors.TraversalProcess>). or BooleanFormulaManager.visitRecursively(org.sosy_lab.java_smt.api.BooleanFormula, org.sosy_lab.java_smt.api.visitors.BooleanFormulaVisitor<org.sosy_lab.java_smt.api.visitors.TraversalProcess>).| Modifier and Type | Class and Description |
|---|---|
static class |
TraversalProcess.TraversalType |
| Modifier and Type | Field and Description |
|---|---|
static TraversalProcess |
ABORT
Immediately abort traversal and return to caller.
|
static TraversalProcess |
CONTINUE
Continue traversal and recurse into current formula subtree.
|
static TraversalProcess |
SKIP
Continue traversal, but do not recurse into current formula subtree.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Formula f) |
static TraversalProcess |
custom(Formula pToTraverse)
Traverse only the given child.
|
static TraversalProcess |
custom(Iterable<? extends Formula> pToTraverse)
Traverse only the given children.
|
TraversalProcess.TraversalType |
getType() |
public static final TraversalProcess CONTINUE
public static final TraversalProcess SKIP
public static final TraversalProcess ABORT
public static TraversalProcess custom(Iterable<? extends Formula> pToTraverse)
NOTE: given formulas which are not children of the given node will be ignored.
public static TraversalProcess custom(Formula pToTraverse)
NOTE: any given which is not child of the given node will be ignored.
public TraversalProcess.TraversalType getType()
public boolean contains(Formula f)