Package com.microsoft.z3
Class EnumSort<R>
java.lang.Object
com.microsoft.z3.Z3Object
com.microsoft.z3.AST
com.microsoft.z3.Sort
com.microsoft.z3.EnumSort<R>
- All Implemented Interfaces:
Comparable<AST>
Enumeration sorts.
-
Method Summary
Modifier and TypeMethodDescriptiongetConst(int inx) Retrieves the inx'th constant in the enumeration.getConstDecl(int inx) Retrieves the inx'th constant declaration in the enumeration.The function declarations of the constants in the enumeration.The constants in the enumeration.getTesterDecl(int inx) Retrieves the inx'th tester/recognizer declaration in the enumeration.The test predicates for the constants in the enumeration.Methods inherited from class com.microsoft.z3.Sort
equals, getId, getName, getSortKind, hashCode, toString, translateMethods inherited from class com.microsoft.z3.AST
compareTo, getASTKind, getSExpr, isApp, isExpr, isFuncDecl, isQuantifier, isSort, isVarMethods inherited from class com.microsoft.z3.Z3Object
arrayLength, arrayToNative
-
Method Details
-
getConstDecls
The function declarations of the constants in the enumeration.- Throws:
Z3Exception- on error
-
getConstDecl
Retrieves the inx'th constant declaration in the enumeration.- Throws:
Z3Exception- on error
-
getConsts
The constants in the enumeration.- Returns:
- an Expr[]
- Throws:
Z3Exception- on error
-
getConst
Retrieves the inx'th constant in the enumeration.- Returns:
- an Expr
- Throws:
Z3Exception- on error
-
getTesterDecls
The test predicates for the constants in the enumeration.- Throws:
Z3Exception- on error
-
getTesterDecl
Retrieves the inx'th tester/recognizer declaration in the enumeration.- Throws:
Z3Exception- on error
-