3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-03-10 15:20:30 +00:00

More Java API. This is still under heavy construction and cannot be used.

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
Christoph M. Wintersteiger 2012-11-23 00:46:44 +00:00
parent c702454f6c
commit 520bcaf720
42 changed files with 2353 additions and 667 deletions

View file

@ -22,7 +22,7 @@ package com.Microsoft.Z3;
return Native.tacticGetHelp(Context.nCtx, NativeObject);
}
}
/**
@ -52,13 +52,13 @@ package com.Microsoft.Z3;
/**
* Apply the tactic to a goal.
**/
public ApplyResult this[Goal g]()
public ApplyResult get(Goal g)
{
return Apply(g);
}
}
/**
* Creates a solver that is implemented using the given tactic.
@ -69,7 +69,7 @@ package com.Microsoft.Z3;
return Context.MkSolver(this);
}
}
Tactic(Context ctx, IntPtr obj)
{ super(ctx, obj);
@ -95,13 +95,13 @@ package com.Microsoft.Z3;
void IncRef(IntPtr o)
{
Context.TacticDRQ.IncAndClear(Context, o);
Context.Tactic_DRQ.IncAndClear(Context, o);
super.IncRef(o);
}
void DecRef(IntPtr o)
{
Context.TacticDRQ.Add(o);
Context.Tactic_DRQ.Add(o);
super.DecRef(o);
}
}