|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.cpsolver.studentsct.check.SectionLimitCheck
public class SectionLimitCheck
This class looks and reports cases when a section limit is exceeded.
Usage: if (new SectionLimitCheck(model).check()) ...
Constructor Summary | |
---|---|
SectionLimitCheck(StudentSectioningModel model)
Constructor |
Method Summary | |
---|---|
boolean |
check()
Check for sections that have more students enrolled than it is allowed, i.e., the sum of requests weights is above the section limit |
StudentSectioningModel |
getModel()
Return student sectioning model |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SectionLimitCheck(StudentSectioningModel model)
model
- student sectioning modelMethod Detail |
---|
public StudentSectioningModel getModel()
public boolean check()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |