Package | Description |
---|---|
org.cpsolver.studentsct.extension |
Student Sectioning: Various Extensions.
|
Modifier and Type | Method and Description |
---|---|
StudentQuality.Type |
StudentQuality.Conflict.getType()
Conflict type
|
static StudentQuality.Type |
StudentQuality.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StudentQuality.Type[] |
StudentQuality.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<StudentQuality.Type> |
StudentQuality.Context.getTypes() |
Modifier and Type | Method and Description |
---|---|
Set<StudentQuality.Conflict> |
StudentQuality.StudentQualityContext.allConflicts(StudentQuality.Type type,
Assignment<Request,Enrollment> assignment,
Enrollment enrollment) |
int |
StudentQuality.StudentQualityContext.allPenalty(StudentQuality.Type type,
Assignment<Request,Enrollment> assignment,
Enrollment enrollment) |
Set<StudentQuality.Conflict> |
StudentQuality.StudentQualityContext.computeAllConflicts(StudentQuality.Type type,
Assignment<Request,Enrollment> assignment) |
Set<StudentQuality.Conflict> |
StudentQuality.conflicts(StudentQuality.Type type,
Enrollment e1)
Conflicts of the given type between classes of a single enrollment (or with free times, unavailabilities, etc.)
|
Set<StudentQuality.Conflict> |
StudentQuality.conflicts(StudentQuality.Type type,
Enrollment e1,
Enrollment e2)
Conflicss of the given type between two enrollments of a student.
|
int |
StudentQuality.StudentQualityContext.countTotalPenalty(StudentQuality.Type type,
Assignment<Request,Enrollment> assignment) |
Set<StudentQuality.Conflict> |
StudentQuality.StudentQualityContext.getAllConflicts(StudentQuality.Type type) |
Set<StudentQuality.Conflict> |
StudentQuality.getAllConflicts(StudentQuality.Type type,
Assignment<Request,Enrollment> assignment)
All conflicts of the given type for the given assignment
|
int |
StudentQuality.getTotalPenalty(Assignment<Request,Enrollment> assignment,
StudentQuality.Type... types)
Total penalisation of given types
|
int |
StudentQuality.StudentQualityContext.getTotalPenalty(StudentQuality.Type type) |
int |
StudentQuality.getTotalPenalty(StudentQuality.Type type,
Assignment<Request,Enrollment> assignment)
Total penalisation of given type
|
void |
StudentQuality.checkTotalPenalty(StudentQuality.Type type,
Assignment<Request,Enrollment> assignment)
Re-check total penalization for the given assignment and conflict type
|
void |
StudentQuality.StudentQualityContext.checkTotalPenalty(StudentQuality.Type type,
Assignment<Request,Enrollment> assignment) |
boolean |
StudentQuality.isApplicable(StudentQuality.Type type,
Student student,
Request r1,
Request r2)
Check whether the given type is applicable for the student and the two requests.
|
int |
StudentQuality.penalty(StudentQuality.Type type,
Enrollment e1)
Penalty of given type between classes of a single enrollment (or with free times, unavailabilities, etc.)
|
int |
StudentQuality.penalty(StudentQuality.Type type,
Enrollment e1,
Enrollment e2)
Penalisation of the given type between two enrollments of a student.
|
Constructor and Description |
---|
Conflict(Student student,
StudentQuality.Type type,
int penalty,
Enrollment e1,
SctAssignment a1,
Enrollment e2,
SctAssignment a2)
Constructor
|
Conflict(Student student,
StudentQuality.Type type,
int penalty,
Enrollment e1,
SctAssignment a1,
SctAssignment a2) |