Package com.microsoft.z3
Class FuncInterp
- java.lang.Object
-
- com.microsoft.z3.Z3Object
-
- com.microsoft.z3.FuncInterp
-
public class FuncInterp extends Z3Object
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 Classes Modifier and Type Class Description static classFuncInterp.EntryAn Entry object represents an element in the finite map used to encode a function interpretation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetArity()The arity of the function interpretationExprgetElse()The (symbolic) `else' value of the function interpretation.FuncInterp.Entry[]getEntries()The entries in the function interpretationintgetNumEntries()The number of entries in the function interpretation.StringtoString()A string representation of the function interpretation.-
Methods inherited from class com.microsoft.z3.Z3Object
arrayLength, arrayToNative
-
-
-
-
Method Detail
-
getNumEntries
public int getNumEntries()
The number of entries in the function interpretation.- Returns:
- an int
- Throws:
Z3Exception- on error
-
getEntries
public FuncInterp.Entry[] getEntries()
The entries in the function interpretation- Throws:
Z3ExceptionZ3Exception- on error
-
getElse
public Expr 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
-
-