choco.kernel.model.variables.integer
Class IntegerExpressionVariable
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.integer.IntegerExpressionVariable
- All Implemented Interfaces:
- IPretty, IIndex, IConstraintList, IFindManager, IOptions, IVariableArray, IHook, IntBoundedVariable, Variable, Serializable, Comparable
- Direct Known Subclasses:
- IntegerVariable, MetaIntegerExpressionVariable
public class IntegerExpressionVariable
- extends ComponentVariable
- implements IntBoundedVariable
- See Also:
- Serialized Form
Field Summary |
protected int |
lowB
|
protected int |
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 int lowB
uppB
protected int uppB
IntegerExpressionVariable
protected IntegerExpressionVariable(VariableType variableType,
Object parameters,
boolean enableOption,
IConstraintList constraints)
IntegerExpressionVariable
public IntegerExpressionVariable(Object parameters,
Operator operator,
IntegerExpressionVariable... variables)
IntegerExpressionVariable
public IntegerExpressionVariable(Object parameters,
String operator,
IntegerExpressionVariable... variables)
IntegerExpressionVariable
public IntegerExpressionVariable(Object parameters,
Class operator,
IntegerExpressionVariable... variables)
getExpressionVariable
public final IntegerExpressionVariable getExpressionVariable(int i)
getLowB
public final int getLowB()
- Specified by:
getLowB
in interface IntBoundedVariable
setLowB
public void setLowB(int lowB)
- Specified by:
setLowB
in interface IntBoundedVariable
getUppB
public final int getUppB()
- Specified by:
getUppB
in interface IntBoundedVariable
setUppB
public void setUppB(int uppB)
- Specified by:
setUppB
in interface IntBoundedVariable
Copyright © 2012. All Rights Reserved.