Package com.microsoft.z3
Class Optimize.Handle<R extends Sort>
java.lang.Object
com.microsoft.z3.Optimize.Handle<R>
- Enclosing class:
- Optimize
Handle to objectives returned by objective functions.
-
Method Details
-
getLower
Retrieve a lower bound for the objective handle. -
getUpper
Retrieve an upper bound for the objective handle. -
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 iffinfis non-zero, and otherwise is represented by the expressionvalue + eps * EPSILON, whereEPSILONis an arbitrarily small real number.
-
getLowerAsVector
- Returns:
- a triple representing the upper bound of the objective handle.
See
getUpperAsVector()for triple semantics.
-
getValue
Retrieve the value of an objective. -
toString
Print a string representation of the handle.
-