Package com.microsoft.z3
Class Pattern
java.lang.Object
com.microsoft.z3.Z3Object
com.microsoft.z3.AST
com.microsoft.z3.Pattern
- All Implemented Interfaces:
Comparable<AST>
Patterns comprise a list of terms. The list should be non-empty. If the list
comprises of more than one term, it is also called a multi-pattern.
-
Method Summary
Methods inherited from class com.microsoft.z3.AST
compareTo, equals, getASTKind, getId, getSExpr, hashCode, isApp, isExpr, isFuncDecl, isQuantifier, isSort, isVar, translateMethods inherited from class com.microsoft.z3.Z3Object
arrayLength, arrayToNative
-
Method Details
-
getNumTerms
public int getNumTerms()The number of terms in the pattern. -
getTerms
The terms in the pattern.- Throws:
Z3Exception
-
toString
A string representation of the pattern.
-