fr.inria.oadymppac.solver
Interface ConstraintCollection

All Known Subinterfaces:
ChoiceConstraint, Explanation, Variable
All Known Implementing Classes:
AbstractVariable, DefaultExplanation, DefaultVariable

public interface ConstraintCollection

Author:
raf TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

Method Summary
 void addConstraint(Constraint constraint)
           
 void clearConstraints()
           
 int countConstraints()
           
 java.util.Collection getConstraints()
           
 void removeConstraint(Constraint variable)
           
 void setConstraints(java.util.Collection constraints)
           
 

Method Detail

addConstraint

public void addConstraint(Constraint constraint)

removeConstraint

public void removeConstraint(Constraint variable)

getConstraints

public java.util.Collection getConstraints()

setConstraints

public void setConstraints(java.util.Collection constraints)

countConstraints

public int countConstraints()

clearConstraints

public void clearConstraints()