public class BiCArExpression extends Object implements CArExpression
Project: choco-solver.
CArExpression.OperatorNO_CHILD| Constructor and Description |
|---|
BiCArExpression(CArExpression.Operator op,
CArExpression e1,
CArExpression e2)
Builds a binary 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 BiCArExpression(CArExpression.Operator op, CArExpression e1, CArExpression e2)
op - an operatore1 - an expressione2 - an 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 © 2018. All rights reserved.