mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 02:45:51 +00:00
Java API: slight overhaul in preparation for the FP additions
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
parent
8e7278f02c
commit
376614a782
38 changed files with 1289 additions and 889 deletions
|
@ -34,7 +34,8 @@ public class FuncInterp extends Z3Object
|
|||
* Return the (symbolic) value of this entry.
|
||||
*
|
||||
* @throws Z3Exception
|
||||
**/
|
||||
* @throws Z3Exception on error
|
||||
**/
|
||||
public Expr getValue() throws Z3Exception
|
||||
{
|
||||
return Expr.create(getContext(),
|
||||
|
@ -43,7 +44,8 @@ public class FuncInterp extends Z3Object
|
|||
|
||||
/**
|
||||
* The number of arguments of the entry.
|
||||
**/
|
||||
* @throws Z3Exception on error
|
||||
**/
|
||||
public int getNumArgs() throws Z3Exception
|
||||
{
|
||||
return Native.funcEntryGetNumArgs(getContext().nCtx(), getNativeObject());
|
||||
|
@ -53,7 +55,8 @@ public class FuncInterp extends Z3Object
|
|||
* The arguments of the function entry.
|
||||
*
|
||||
* @throws Z3Exception
|
||||
**/
|
||||
* @throws Z3Exception on error
|
||||
**/
|
||||
public Expr[] getArgs() throws Z3Exception
|
||||
{
|
||||
int n = getNumArgs();
|
||||
|
@ -103,6 +106,8 @@ public class FuncInterp extends Z3Object
|
|||
|
||||
/**
|
||||
* The number of entries in the function interpretation.
|
||||
* @throws Z3Exception on error
|
||||
* @return an int
|
||||
**/
|
||||
public int getNumEntries() throws Z3Exception
|
||||
{
|
||||
|
@ -113,6 +118,7 @@ public class FuncInterp extends Z3Object
|
|||
* The entries in the function interpretation
|
||||
*
|
||||
* @throws Z3Exception
|
||||
* @throws Z3Exception on error
|
||||
**/
|
||||
public Entry[] getEntries() throws Z3Exception
|
||||
{
|
||||
|
@ -128,6 +134,8 @@ public class FuncInterp extends Z3Object
|
|||
* The (symbolic) `else' value of the function interpretation.
|
||||
*
|
||||
* @throws Z3Exception
|
||||
* @throws Z3Exception on error
|
||||
* @return an Expr
|
||||
**/
|
||||
public Expr getElse() throws Z3Exception
|
||||
{
|
||||
|
@ -137,6 +145,8 @@ public class FuncInterp extends Z3Object
|
|||
|
||||
/**
|
||||
* The arity of the function interpretation
|
||||
* @throws Z3Exception on error
|
||||
* @return an int
|
||||
**/
|
||||
public int getArity() throws Z3Exception
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue