3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 13:28:47 +00:00

using properties

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2014-10-13 19:11:20 -07:00
parent bae201b37d
commit b050ac7c7c

View file

@ -101,25 +101,25 @@ namespace Microsoft.Z3
/// <summary> /// <summary>
/// Retrieve a lower bound for the objective handle. /// Retrieve a lower bound for the objective handle.
/// </summary> /// </summary>
public ArithExpr Lower() public ArithExpr Lower
{ {
return opt.GetLower(handle); get { return opt.GetLower(handle); }
} }
/// <summary> /// <summary>
/// Retrieve an upper bound for the objective handle. /// Retrieve an upper bound for the objective handle.
/// </summary> /// </summary>
public ArithExpr Upper() public ArithExpr Upper
{ {
return opt.GetUpper(handle); get { return opt.GetUpper(handle); }
} }
/// <summary> /// <summary>
/// Retrieve the value of an objective. /// Retrieve the value of an objective.
/// </summary> /// </summary>
public ArithExpr Value() public ArithExpr Value
{ {
return Lower(); get { return Lower; }
} }
} }