public class BiCArExpression extends Object implements CArExpression
Project: choco-solver.
CArExpression.Operator
NO_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, wait
abs, 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, tanh
public BiCArExpression(CArExpression.Operator op, CArExpression e1, CArExpression e2)
op
- an operatore1
- an expressione2
- an expressionpublic Model getModel()
CArExpression
getModel
in interface CArExpression
public RealVar realVar(double p)
realVar
in interface CArExpression
p
- precision of the variable to returnRealVar
.
If necessary, it creates intermediary variable and posts intermediary constraintsCopyright © 2018. All rights reserved.