public interface OverExpectedCriterion
| Modifier and Type | Interface and Description |
|---|---|
static interface |
OverExpectedCriterion.HasContext |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getExpected(int sectionLimit,
double expectedSpace)
Expected space, for printing purposes
|
double |
getOverExpected(Assignment<Request,Enrollment> assignment,
Section section,
Request request)
Expectation penalty, to be minimized
|
double getOverExpected(Assignment<Request,Enrollment> assignment, Section section, Request request)
assignment - current assignmentsection - section in questionrequest - student course requestInteger getExpected(int sectionLimit, double expectedSpace)
sectionLimit - section limit, see Section.getLimit()expectedSpace - expectation, see Section.getSpaceExpected()