- java.lang.Object
-
- javax.constraints.impl.CommonBase
-
- javax.constraints.impl.AbstractConstrainedVariable
-
- javax.constraints.impl.AbstractVarReal
-
- javax.constraints.impl.VarReal
-
-
Constructor Summary
Constructors
| Constructor and Description |
VarReal(javax.constraints.Problem problem) |
VarReal(javax.constraints.Problem problem,
String name) |
-
Method Summary
-
Methods inherited from class javax.constraints.impl.AbstractVarReal
abs, addPropagator, compareTo, contains, divide, divide, divide, divide, getInitialDomain, getValue, minus, minus, minus, minus, mod, multiply, multiply, multiply, plus, plus, plus, plus, power, power, removeRange, sqr, toString
-
Methods inherited from class javax.constraints.impl.CommonBase
getId, getImpl, getName, getObject, getProblem, setId, setImpl, setName, setObject
-
Methods inherited from interface javax.constraints.VarReal
abs, divide, divide, divide, divide, getInitialDomain, getValue, minus, minus, minus, minus, multiply, multiply, multiply, plus, plus, plus, plus, power, power, removeRange, sqr
-
Methods inherited from interface javax.constraints.ConstrainedVariable
getId, getImpl, getName, getObject, getProblem, setId, setImpl, setName, setObject
-
-
Method Detail
-
getMin
public double getMin()
- Specified by:
getMin in interface javax.constraints.VarReal
-
getMax
public double getMax()
- Specified by:
getMax in interface javax.constraints.VarReal
-
isBound
public boolean isBound()
- Specified by:
isBound in interface javax.constraints.VarReal
Copyright © 2024. All rights reserved.