choco.kernel.model.variables.real
Class RealExpressionVariable

java.lang.Object
  extended by choco.kernel.model.VariableArray
      extended by choco.kernel.model.ModelObject
          extended by choco.kernel.model.variables.AbstractVariable
              extended by choco.kernel.model.variables.ComponentVariable
                  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class choco.kernel.model.variables.ComponentVariable
ComponentVariable.ConstraintsDataStructure
 
Nested classes/interfaces inherited from class choco.kernel.model.VariableArray
VariableArray.VConstraintsDataStructure
 
Field Summary
protected  double lowB
           
protected  double uppB
           
 
Fields inherited from class choco.kernel.model.variables.ComponentVariable
expressionManager, NO_CONSTRAINTS_DS, operator, parameters, variableManager
 
Fields inherited from class choco.kernel.model.variables.AbstractVariable
name, type
 
Fields inherited from class choco.kernel.model.VariableArray
NO_CONSTRAINTS
 
Fields inherited from interface choco.kernel.model.variables.Variable
LOGGER
 
Fields inherited from interface choco.kernel.model.variables.IHook
NO_HOOK
 
Constructor Summary
  RealExpressionVariable(Object parameters, Operator operator, RealExpressionVariable... variables)
           
protected RealExpressionVariable(VariableType variableType, boolean enableOption, Object parameters, IConstraintList constraints)
           
 
Method Summary
 double getLowB()
           
 double getUppB()
           
 void setLowB(double lowB)
           
 void setUppB(double uppB)
           
 
Methods inherited from class choco.kernel.model.variables.ComponentVariable
findManager, getComponentClass, getConstraintManager, getExpressionManager, getOperator, getOperatorClass, getParameters, getVariableManager
 
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.ModelObject
addOption, addOptions, addOptions, addOptions, addOptions, containsOption, getIndex, getOptions, hashCode
 
Methods inherited from class choco.kernel.model.VariableArray
cancelExtractVariables, doExtractVariables, extractVariables, forceExtractVariables, getNbVars, getVariable, getVariableIterator, getVariables, replaceBy, replaceByConstantAt, setVariables, setVariables
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface choco.kernel.model.IVariableArray
extractVariables, getNbVars, getVariable, getVariableIterator, getVariables, replaceBy
 
Methods inherited from interface choco.kernel.common.IIndex
getIndex
 
Methods inherited from interface choco.kernel.model.IOptions
addOption, addOptions, addOptions, addOptions, addOptions, containsOption, getOptions
 

Field Detail

lowB

protected double lowB

uppB

protected double uppB
Constructor Detail

RealExpressionVariable

protected RealExpressionVariable(VariableType variableType,
                                 boolean enableOption,
                                 Object parameters,
                                 IConstraintList constraints)

RealExpressionVariable

public RealExpressionVariable(Object parameters,
                              Operator operator,
                              RealExpressionVariable... variables)
Method Detail

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.