Methods
| Modifier and Type |
Method and Description |
<T extends Formula> T |
callFunction(FunctionDeclaration<T> declaration,
List<? extends Formula> args) |
abstract TFormulaInfo |
callFunctionImpl(FunctionDeclarationImpl<?,TFuncDecl> declaration,
List<TFormulaInfo> args) |
<T extends Formula> T |
encapsulate(FormulaType<T> pType,
TFormulaInfo pTerm) |
protected <TI extends Formula,TE extends Formula> ArrayFormula<TI,TE> |
encapsulateArray(TFormulaInfo pTerm,
FormulaType<TI> pIndexType,
FormulaType<TE> pElementType) |
protected BitvectorFormula |
encapsulateBitvector(TFormulaInfo pTerm) |
BooleanFormula |
encapsulateBoolean(TFormulaInfo pTerm) |
protected FloatingPointFormula |
encapsulateFloatingPoint(TFormulaInfo pTerm) |
Formula |
encapsulateWithTypeOf(TFormulaInfo pTerm) |
protected TFormulaInfo |
extractInfo(Formula pT) |
protected List<TFormulaInfo> |
extractInfo(List<? extends Formula> input) |
Map<String,Formula> |
extractVariablesAndUFs(Formula pFormula,
boolean extractUF)
Extract all free variables from the formula, optionally including UFs.
|
Map<String,TFormulaInfo> |
extractVariablesAndUFs(TFormulaInfo pFormula,
boolean extractUFs)
|
protected <TI extends Formula,TE extends Formula> FormulaType<TE> |
getArrayFormulaElementType(ArrayFormula<TI,TE> pArray) |
protected <TI extends Formula,TE extends Formula> FormulaType<TI> |
getArrayFormulaIndexType(ArrayFormula<TI,TE> pArray) |
abstract TType |
getArrayType(TType indexType,
TType elementType) |
abstract TType |
getBitvectorType(int bitwidth) |
TFuncDecl |
getBooleanVarDeclaration(BooleanFormula var) |
protected abstract TFuncDecl |
getBooleanVarDeclarationImpl(TFormulaInfo pTFormulaInfo) |
TType |
getBoolType() |
TEnv |
getEnv() |
abstract TType |
getFloatingPointType(FormulaType.FloatingPointType type) |
protected <T extends Formula> FormulaType<T> |
getFormulaType(T formula)
Returns the type of the given Formula.
|
abstract FormulaType<?> |
getFormulaType(TFormulaInfo formula) |
TType |
getIntegerType() |
TType |
getRationalType() |
abstract TFormulaInfo |
makeVariable(TType type,
String varName) |
<T extends Formula> T |
transformRecursively(FormulaTransformationVisitor pFormulaVisitor,
T pF) |
<R> R |
visit(FormulaVisitor<R> visitor,
Formula input) |
abstract <R> R |
visit(FormulaVisitor<R> visitor,
Formula formula,
TFormulaInfo f) |
void |
visitRecursively(FormulaVisitor<TraversalProcess> pFormulaVisitor,
Formula pF) |