All Methods Instance Methods Abstract Methods Concrete Methods
| Modifier and Type |
Method and Description |
<T extends Formula> T |
callFunction(FunctionDeclaration<T> declaration,
List<? extends Formula> args) |
abstract TFormulaInfo |
callFunctionImpl(TFuncDecl declaration,
List<TFormulaInfo> args) |
abstract Object |
convertValue(TFormulaInfo pF)
Convert the formula into a Java object as far as possible, i.e., try to match a primitive or
simple type like Boolean, BigInteger, or Rational.
|
Object |
convertValue(TFormulaInfo pAdditionalF,
TFormulaInfo pF)
Convert the formula into a Java object as far as possible, i.e., try to match a primitive or
simple type.
|
abstract TFuncDecl |
declareUFImpl(String pName,
TType pReturnType,
List<TType> pArgTypes) |
<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) |
void |
extractVariablesAndUFs(Formula pFormula,
boolean extractUF,
BiConsumer<String,Formula> pConsumer)
Extract all free variables from the formula, optionally including UFs.
|
Map<String,TFormulaInfo> |
extractVariablesAndUFs(TFormulaInfo pFormula,
boolean extractUFs)
|
void |
extractVariablesAndUFs(TFormulaInfo pFormula,
boolean extractUFs,
BiConsumer<String,TFormulaInfo> pConsumer)
|
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(FormulaVisitor<? extends Formula> pFormulaVisitor,
T pF) |
<T extends Formula> T |
transformRecursively(FormulaVisitor<? extends Formula> pFormulaVisitor,
T pF,
Predicate<Object> shouldProcess) |
<R> R |
visit(Formula input,
FormulaVisitor<R> visitor) |
abstract <R> R |
visit(FormulaVisitor<R> visitor,
Formula formula,
TFormulaInfo f) |
void |
visitRecursively(FormulaVisitor<TraversalProcess> pFormulaVisitor,
Formula pF) |
void |
visitRecursively(FormulaVisitor<TraversalProcess> pFormulaVisitor,
Formula pF,
Predicate<Formula> shouldProcess) |