choco.kernel.model.variables
Class ComponentVariable.ConstraintsDataStructure

java.lang.Object
  extended by choco.kernel.model.variables.ComponentVariable.ConstraintsDataStructure
All Implemented Interfaces:
IConstraintList, Serializable
Enclosing class:
ComponentVariable

protected static final class ComponentVariable.ConstraintsDataStructure
extends Object
implements IConstraintList

See Also:
Serialized Form

Constructor Summary
ComponentVariable.ConstraintsDataStructure()
           
 
Method Summary
 void _addConstraint(Constraint c)
           
 boolean _contains(Constraint c)
           
 void _removeConstraint(Constraint c)
           
 Constraint getConstraint(int i)
           
 Iterator<Constraint> getConstraintIterator(Model m)
           
 Constraint[] getConstraints()
           
 int getNbConstraint(Model m)
           
 void removeConstraints()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentVariable.ConstraintsDataStructure

public ComponentVariable.ConstraintsDataStructure()
Method Detail

_addConstraint

public void _addConstraint(Constraint c)
Specified by:
_addConstraint in interface IConstraintList

_removeConstraint

public void _removeConstraint(Constraint c)
Specified by:
_removeConstraint in interface IConstraintList

_contains

public boolean _contains(Constraint c)
Specified by:
_contains in interface IConstraintList

removeConstraints

public void removeConstraints()
Specified by:
removeConstraints in interface IConstraintList

getConstraint

public Constraint getConstraint(int i)
Specified by:
getConstraint in interface IConstraintList

getConstraintIterator

public Iterator<Constraint> getConstraintIterator(Model m)
Specified by:
getConstraintIterator in interface IConstraintList

getConstraints

public Constraint[] getConstraints()
Specified by:
getConstraints in interface IConstraintList

getNbConstraint

public int getNbConstraint(Model m)
Specified by:
getNbConstraint in interface IConstraintList


Copyright © 2012. All Rights Reserved.