Package com.microsoft.z3
Class FuncDecl<R extends Sort>
java.lang.Object
com.microsoft.z3.Z3Object
com.microsoft.z3.AST
com.microsoft.z3.FuncDecl<R>
- All Implemented Interfaces:
Comparable<AST>
Function declarations.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFunction declarations can have Parameters associated with them. -
Method Summary
Modifier and TypeMethodDescriptionCreate expression that applies function to arguments.booleanObject comparison.intgetArity()The arity of the function declarationThe kind of the function declaration.Sort[]The domain of the function declarationintThe size of the domain of the function declarationintgetId()Returns a unique identifier for the function declaration.getName()The name of the function declarationintThe number of parameters of the function declarationThe parameters of the function declarationgetRange()The range of the function declarationtoString()A string representation of the AST.Translates (copies) the function declaration to the Contextctx.Methods inherited from class com.microsoft.z3.AST
compareTo, getASTKind, getSExpr, hashCode, isApp, isExpr, isFuncDecl, isQuantifier, isSort, isVarMethods inherited from class com.microsoft.z3.Z3Object
arrayLength, arrayToNative
-
Method Details
-
equals
Object comparison. -
toString
Description copied from class:ASTA string representation of the AST. -
getId
public int getId()Returns a unique identifier for the function declaration. -
translate
Translates (copies) the function declaration to the Contextctx.- Overrides:
translatein classAST- Parameters:
ctx- A context- Returns:
- A copy of the function declaration which is associated with
ctx - Throws:
Z3Exception- on error
-
getArity
public int getArity()The arity of the function declaration -
getDomainSize
public int getDomainSize()The size of the domain of the function declaration- See Also:
-
getDomain
The domain of the function declaration -
getRange
The range of the function declaration -
getDeclKind
The kind of the function declaration. -
getName
The name of the function declaration -
getNumParameters
public int getNumParameters()The number of parameters of the function declaration -
getParameters
The parameters of the function declaration -
apply
Create expression that applies function to arguments.
-