public class UnCArExpression extends Object implements CArExpression
Project: choco-solver.
CArExpression.OperatorNO_CHILD| Constructor and Description |
|---|
UnCArExpression(CArExpression.Operator op,
CArExpression exp)
Builds a unary expression
|
| Modifier and Type | Method and Description |
|---|---|
Model |
getModel()
Return the associated model
|
RealVar |
realVar(double p) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitabs, acos, acosh, add, add, asin, asinh, atan, atan2, atan2, atanh, cos, cosh, div, div, eq, eq, exp, ge, ge, gt, gt, le, le, ln, lt, lt, max, max, min, min, mul, mul, neg, pow, pow, sin, sinh, sqrt, sub, sub, tan, tanhpublic UnCArExpression(CArExpression.Operator op, CArExpression exp)
op - operatorexp - an continuous arithmetic expressionpublic Model getModel()
CArExpressiongetModel in interface CArExpressionpublic RealVar realVar(double p)
realVar in interface CArExpressionp - precision of the variable to returnRealVar.
If necessary, it creates intermediary variable and posts intermediary constraintsCopyright © 2017. All rights reserved.