mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
Added Solver.AssertAndTrack
Convenience fixes. Renamed Context.Const to Context.ConstProbe Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
parent
50bf845b40
commit
3abf397560
2 changed files with 47 additions and 3 deletions
|
@ -236,7 +236,7 @@ namespace Microsoft.Z3
|
|||
/// <summary>
|
||||
/// Create a new enumeration sort.
|
||||
/// </summary>
|
||||
public EnumSort MkEnumSort(Symbol name, Symbol[] enumNames)
|
||||
public EnumSort MkEnumSort(Symbol name, params Symbol[] enumNames)
|
||||
{
|
||||
Contract.Requires(name != null);
|
||||
Contract.Requires(enumNames != null);
|
||||
|
@ -252,7 +252,7 @@ namespace Microsoft.Z3
|
|||
/// <summary>
|
||||
/// Create a new enumeration sort.
|
||||
/// </summary>
|
||||
public EnumSort MkEnumSort(string name, string[] enumNames)
|
||||
public EnumSort MkEnumSort(string name, params string[] enumNames)
|
||||
{
|
||||
Contract.Requires(enumNames != null);
|
||||
Contract.Ensures(Contract.Result<EnumSort>() != null);
|
||||
|
@ -3219,7 +3219,7 @@ namespace Microsoft.Z3
|
|||
/// <summary>
|
||||
/// Create a probe that always evaluates to <paramref name="val"/>.
|
||||
/// </summary>
|
||||
public Probe Const(double val)
|
||||
public Probe ConstProbe(double val)
|
||||
{
|
||||
Contract.Ensures(Contract.Result<Probe>() != null);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue