choco.kernel.model.variables
Class MultipleVariables

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.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

Nested Class Summary
 
Nested classes/interfaces inherited from class choco.kernel.model.VariableArray
VariableArray.VConstraintsDataStructure
 
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 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
protected MultipleVariables()
           
protected MultipleVariables(boolean enableOptions, boolean enableStorage)
           
  MultipleVariables(boolean enableOptions, boolean enableStorage, Variable... variables)
           
 
Method Summary
 void findManager(Properties properties)
          Set the class manager
 ConstraintManager<?> getConstraintManager()
           
 ExpressionManager getExpressionManager()
           
 VariableManager<?> getVariableManager()
           
 boolean isEquivalentTo(MultipleVariables mv)
          Check wether to Multiple variables are equivalents
 boolean isStored()
           
 
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

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)

Constructor Detail

MultipleVariables

protected MultipleVariables()

MultipleVariables

protected MultipleVariables(boolean enableOptions,
                            boolean enableStorage)

MultipleVariables

public MultipleVariables(boolean enableOptions,
                         boolean enableStorage,
                         Variable... variables)
Method Detail

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.