choco.kernel.model.variables
Class MultipleVariables
java.lang.Object
choco.kernel.model.VariableArray
choco.kernel.model.ModelObject
choco.kernel.model.variables.AbstractVariable
choco.kernel.model.variables.MultipleVariables
- All Implemented Interfaces:
- IPretty, IIndex, IConstraintList, IFindManager, IOptions, IVariableArray, IHook, Variable, Serializable, Comparable
- Direct Known Subclasses:
- GeostObject, TaskVariable, TreeNodeObject, TreeParametersObject
public abstract class MultipleVariables
- extends AbstractVariable
- See Also:
- Serialized Form
Field Summary |
protected boolean |
enableStorage
Indicate wether or not the MultipleVariable shoudl be stored as an object
(for example to be accessible by the Solver as an entire object) |
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 |
enableStorage
protected final boolean enableStorage
- Indicate wether or not the MultipleVariable shoudl be stored as an object
(for example to be accessible by the Solver as an entire object)
MultipleVariables
protected MultipleVariables()
MultipleVariables
protected MultipleVariables(boolean enableOptions,
boolean enableStorage)
MultipleVariables
public MultipleVariables(boolean enableOptions,
boolean enableStorage,
Variable... variables)
isStored
public boolean isStored()
findManager
public void findManager(Properties properties)
- Set the class manager
- Parameters:
properties
- properties
getExpressionManager
public ExpressionManager getExpressionManager()
getConstraintManager
public ConstraintManager<?> getConstraintManager()
getVariableManager
public VariableManager<?> getVariableManager()
isEquivalentTo
public boolean isEquivalentTo(MultipleVariables mv)
- Check wether to Multiple variables are equivalents
- Parameters:
mv
-
- Returns:
Copyright © 2012. All Rights Reserved.