Package com.microsoft.z3
Class FuncInterp<R extends Sort>
java.lang.Object
com.microsoft.z3.Z3Object
com.microsoft.z3.FuncInterp<R>
A function interpretation is represented as a finite map and an 'else' value.
Each entry in the finite map represents the value of a function given a set
of arguments.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFuncInterp.Entry<R extends Sort>An Entry object represents an element in the finite map used to encode a function interpretation. -
Method Summary
Modifier and TypeMethodDescriptionintgetArity()The arity of the function interpretationgetElse()The (symbolic) `else' value of the function interpretation.The entries in the function interpretationintThe number of entries in the function interpretation.toString()A string representation of the function interpretation.Methods inherited from class com.microsoft.z3.Z3Object
arrayLength, arrayToNative
-
Method Details
-
getNumEntries
public int getNumEntries()The number of entries in the function interpretation.- Returns:
- an int
- Throws:
Z3Exception- on error
-
getEntries
The entries in the function interpretation- Throws:
Z3ExceptionZ3Exception- on error
-
getElse
The (symbolic) `else' value of the function interpretation.- Returns:
- an Expr
- Throws:
Z3ExceptionZ3Exception- on error
-
getArity
public int getArity()The arity of the function interpretation- Returns:
- an int
- Throws:
Z3Exception- on error
-
toString
A string representation of the function interpretation.
-