public class Yices2FormulaCreator extends FormulaCreator<Integer,Integer,Long,Integer>
environment| Modifier | Constructor and Description |
|---|---|
protected |
Yices2FormulaCreator(long env) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
callFunctionImpl(Integer pDeclaration,
List<Integer> pArgs) |
Object |
convertValue(Integer key)
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(Integer typeKey,
Integer pF)
Convert the formula into a Java object as far as possible, i.e., try to match a primitive or
simple type.
|
Integer |
declareUFImpl(String pName,
Integer pReturnType,
List<Integer> pArgTypes) |
<T extends Formula> |
encapsulate(FormulaType<T> pType,
Integer pTerm) |
BitvectorFormula |
encapsulateBitvector(Integer pTerm) |
BooleanFormula |
encapsulateBoolean(Integer pTerm) |
Integer |
extractInfo(Formula pT) |
Integer |
getArrayType(Integer pIndexType,
Integer pElementType) |
Integer |
getBitvectorType(int pBitwidth) |
protected Integer |
getBooleanVarDeclarationImpl(Integer pTFormulaInfo) |
Integer |
getFloatingPointType(FormulaType.FloatingPointType pType) |
FormulaType<?> |
getFormulaType(Integer pFormula) |
<T extends Formula> |
getFormulaType(T pFormula)
Returns the type of the given Formula.
|
Integer |
makeVariable(Integer pType,
String pVarName) |
<R> R |
visit(FormulaVisitor<R> pVisitor,
Formula pFormula,
Integer pF) |
callFunction, encapsulateArray, encapsulateFloatingPoint, encapsulateWithTypeOf, extractInfo, extractVariablesAndUFs, extractVariablesAndUFs, extractVariablesAndUFs, getArrayFormulaElementType, getArrayFormulaIndexType, getBooleanVarDeclaration, getBoolType, getEnv, getIntegerType, getRationalType, transformRecursively, transformRecursively, visit, visitRecursively, visitRecursivelypublic Integer getBitvectorType(int pBitwidth)
getBitvectorType in class FormulaCreator<Integer,Integer,Long,Integer>public Integer getFloatingPointType(FormulaType.FloatingPointType pType)
getFloatingPointType in class FormulaCreator<Integer,Integer,Long,Integer>public Integer getArrayType(Integer pIndexType, Integer pElementType)
getArrayType in class FormulaCreator<Integer,Integer,Long,Integer>public Integer makeVariable(Integer pType, String pVarName)
makeVariable in class FormulaCreator<Integer,Integer,Long,Integer>public Integer extractInfo(Formula pT)
extractInfo in class FormulaCreator<Integer,Integer,Long,Integer>public <T extends Formula> T encapsulate(FormulaType<T> pType, Integer pTerm)
encapsulate in class FormulaCreator<Integer,Integer,Long,Integer>public BooleanFormula encapsulateBoolean(Integer pTerm)
encapsulateBoolean in class FormulaCreator<Integer,Integer,Long,Integer>public BitvectorFormula encapsulateBitvector(Integer pTerm)
encapsulateBitvector in class FormulaCreator<Integer,Integer,Long,Integer>public <T extends Formula> FormulaType<T> getFormulaType(T pFormula)
FormulaCreatorgetFormulaType in class FormulaCreator<Integer,Integer,Long,Integer>public FormulaType<?> getFormulaType(Integer pFormula)
getFormulaType in class FormulaCreator<Integer,Integer,Long,Integer>public <R> R visit(FormulaVisitor<R> pVisitor, Formula pFormula, Integer pF)
public Integer callFunctionImpl(Integer pDeclaration, List<Integer> pArgs)
callFunctionImpl in class FormulaCreator<Integer,Integer,Long,Integer>public Integer declareUFImpl(String pName, Integer pReturnType, List<Integer> pArgTypes)
declareUFImpl in class FormulaCreator<Integer,Integer,Long,Integer>protected Integer getBooleanVarDeclarationImpl(Integer pTFormulaInfo)
getBooleanVarDeclarationImpl in class FormulaCreator<Integer,Integer,Long,Integer>public Object convertValue(Integer key)
FormulaCreatorIf the formula is not a simple constant expression, we simple return null.
convertValue in class FormulaCreator<Integer,Integer,Long,Integer>key - the formula to be converted.public Object convertValue(Integer typeKey, Integer pF)
FormulaCreatorconvertValue in class FormulaCreator<Integer,Integer,Long,Integer>typeKey - an additonal formula where the type can be received from.pF - the formula to be converted.