Package com.microsoft.z3
Class Optimize.Handle<R extends Sort>
- java.lang.Object
-
- com.microsoft.z3.Optimize.Handle<R>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expr<R>
getLower()
Retrieve a lower bound for the objective handle.Expr<?>[]
getLowerAsVector()
Expr<R>
getUpper()
Retrieve an upper bound for the objective handle.Expr<?>[]
getUpperAsVector()
Expr<R>
getValue()
Retrieve the value of an objective.String
toString()
Print a string representation of the handle.
-
-
-
Method Detail
-
getUpperAsVector
public Expr<?>[] getUpperAsVector()
- Returns:
- a triple representing the upper bound of the objective handle.
The triple contains values
inf, value, eps
, where the objective value is unbounded iffinf
is non-zero, and otherwise is represented by the expressionvalue + eps * EPSILON
, whereEPSILON
is an arbitrarily small real number.
-
getLowerAsVector
public Expr<?>[] getLowerAsVector()
- Returns:
- a triple representing the upper bound of the objective handle.
See
getUpperAsVector()
for triple semantics.
-
-