public class SectionLimitCheck extends Object
Constructor and Description |
---|
SectionLimitCheck(StudentSectioningModel model)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
check(Assignment<Request,Enrollment> assignment)
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
|
public SectionLimitCheck(StudentSectioningModel model)
model
- student sectioning modelpublic StudentSectioningModel getModel()
public boolean check(Assignment<Request,Enrollment> assignment)
assignment
- current assignment