choco.kernel.model.variables.real
Class RealExpressionVariable
java.lang.Object
choco.kernel.model.VariableArray
choco.kernel.model.ModelObject
choco.kernel.model.variables.AbstractVariable
choco.kernel.model.variables.ComponentVariable
choco.kernel.model.variables.real.RealExpressionVariable
- All Implemented Interfaces:
- IPretty, IIndex, IConstraintList, IFindManager, IOptions, IVariableArray, DoubleBoundedVariable, IHook, Variable, Serializable, Comparable
- Direct Known Subclasses:
- RealVariable
public class RealExpressionVariable
- extends ComponentVariable
- implements DoubleBoundedVariable
- See Also:
- Serialized Form
Field Summary |
protected double |
lowB
|
protected double |
uppB
|
Fields inherited from interface choco.kernel.model.variables.Variable |
LOGGER |
Fields inherited from interface choco.kernel.model.variables.IHook |
NO_HOOK |
Methods inherited from class choco.kernel.model.variables.AbstractVariable |
_addConstraint, _contains, _removeConstraint, compareTo, getConstraint, getConstraintIterator, getConstraintIterator, getConstraints, getHook, getName, getNbConstraint, getNbConstraint, getVariableType, pretty, removeConstraints, resetHook, setHook, setName, throwConstantException, toString |
Methods inherited from class choco.kernel.model.VariableArray |
cancelExtractVariables, doExtractVariables, extractVariables, forceExtractVariables, getNbVars, getVariable, getVariableIterator, getVariables, replaceBy, replaceByConstantAt, setVariables, setVariables |
lowB
protected double lowB
uppB
protected double uppB
RealExpressionVariable
protected RealExpressionVariable(VariableType variableType,
boolean enableOption,
Object parameters,
IConstraintList constraints)
RealExpressionVariable
public RealExpressionVariable(Object parameters,
Operator operator,
RealExpressionVariable... variables)
getUppB
public final double getUppB()
- Specified by:
getUppB
in interface DoubleBoundedVariable
setUppB
public void setUppB(double uppB)
- Specified by:
setUppB
in interface DoubleBoundedVariable
getLowB
public final double getLowB()
- Specified by:
getLowB
in interface DoubleBoundedVariable
setLowB
public void setLowB(double lowB)
- Specified by:
setLowB
in interface DoubleBoundedVariable
Copyright © 2012. All Rights Reserved.