Package | Description |
---|---|
net.sf.cpsolver.studentsct |
Student Sectioning Solver.
|
net.sf.cpsolver.studentsct.extension |
Student Sectioning: Various Extensions.
|
net.sf.cpsolver.studentsct.model |
Student Sectioning: Model.
|
Modifier and Type | Method and Description |
---|---|
double |
StudentPreferencePenalties.getPenalty(Assignment assignment)
Return penalty of an assignment.
|
Modifier and Type | Method and Description |
---|---|
Assignment |
TimeOverlapsCounter.Conflict.getS1()
First section
|
Assignment |
TimeOverlapsCounter.Conflict.getS2()
Second section
|
Modifier and Type | Method and Description |
---|---|
boolean |
TimeOverlapsCounter.inConflict(Assignment a1,
Assignment a2)
Return true if the given two assignments are overlapping.
|
int |
TimeOverlapsCounter.share(Assignment a1,
Assignment a2)
If the two sections are overlapping, return the number of slots of the overlap.
|
Constructor and Description |
---|
Conflict(Student student,
int share,
Enrollment e1,
Assignment a1,
Enrollment e2,
Assignment a2)
Constructor
|
Modifier and Type | Class and Description |
---|---|
class |
FreeTimeRequest
Representation of a request of a student for free time.
|
class |
Section
Representation of a class.
|
Modifier and Type | Method and Description |
---|---|
Set<Assignment> |
Enrollment.getAssignments()
List of assignments (selected sections)
|
Modifier and Type | Method and Description |
---|---|
int |
Assignment.compareById(Assignment a)
Compare assignments by unique ids.
|
int |
FreeTimeRequest.compareById(Assignment a)
Sections first, then by
Request.getId() |
int |
Section.compareById(Assignment a)
Sections first, then by
Request.getId() |
boolean |
Assignment.isOverlapping(Assignment assignment)
True, if this assignment is overlapping in time and space with the given
assignment.
|
boolean |
FreeTimeRequest.isOverlapping(Assignment assignment)
True, if this assignment is overlapping in time and space with the given
assignment.
|
boolean |
Section.isOverlapping(Assignment assignment)
True, if this section overlaps with the given assignment in time and
space
|
Modifier and Type | Method and Description |
---|---|
Enrollment |
CourseRequest.createEnrollment(Set<? extends Assignment> sections)
Create enrollment for the given list of sections.
|
Enrollment |
CourseRequest.createEnrollment(Set<? extends Assignment> sections,
Reservation reservation)
Create enrollment for the given list of sections.
|
boolean |
Assignment.isOverlapping(Set<? extends Assignment> assignments)
True, if this assignment is overlapping in time and space with the given
set of assignments.
|
boolean |
FreeTimeRequest.isOverlapping(Set<? extends Assignment> assignments)
True, if this assignment is overlapping in time and space with the given
set of assignments.
|
boolean |
Section.isOverlapping(Set<? extends Assignment> assignments)
True, if this section overlaps with one of the given set of assignments
in time and space
|
Constructor and Description |
---|
Enrollment(Request request,
int priority,
Config config,
Set<? extends Assignment> assignments)
Constructor
|
Enrollment(Request request,
int priority,
Course course,
Config config,
Set<? extends Assignment> assignments,
Reservation reservation)
Constructor
|