Package | Description |
---|---|
org.cpsolver.studentsct |
Student Sectioning Solver.
|
org.cpsolver.studentsct.constraint |
Student Sectioning: Constraints.
|
org.cpsolver.studentsct.extension |
Student Sectioning: Various Extensions.
|
org.cpsolver.studentsct.model |
Student Sectioning: Model.
|
org.cpsolver.studentsct.online |
Online Student Sectioning Solver.
|
org.cpsolver.studentsct.report |
Student Sectioning: Various Reports.
|
Modifier and Type | Method and Description |
---|---|
double |
StudentPreferencePenalties.getPenalty(SctAssignment assignment)
Return penalty of an assignment.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
HardDistanceConflicts.inConflict(StudentQuality sq,
SctAssignment s1,
Enrollment e) |
Modifier and Type | Method and Description |
---|---|
SctAssignment |
StudentQuality.Conflict.getS1()
First section
|
SctAssignment |
TimeOverlapsCounter.Conflict.getS1()
First section
|
SctAssignment |
StudentQuality.Conflict.getS2()
Second section
|
SctAssignment |
TimeOverlapsCounter.Conflict.getS2()
Second section
|
Modifier and Type | Method and Description |
---|---|
Iterator<SctAssignment> |
StudentQuality.Nothing.iterator() |
Iterable<? extends SctAssignment> |
StudentQuality.Type.other(StudentQuality.Context cx,
Enrollment e) |
Iterable<? extends SctAssignment> |
StudentQuality.Quality.other(StudentQuality.Context cx,
Enrollment e)
Enumerate other section assignments applicable for the given enrollment (e.g., student unavailabilities)
|
Modifier and Type | Method and Description |
---|---|
boolean |
TimeOverlapsCounter.inConflict(SctAssignment a1,
SctAssignment a2)
Return true if the given two assignments are overlapping.
|
boolean |
StudentQuality.Type.inConflict(StudentQuality.Context cx,
SctAssignment a1,
SctAssignment a2) |
boolean |
StudentQuality.Quality.inConflict(StudentQuality.Context cx,
SctAssignment a1,
SctAssignment a2)
When applicable, is there a conflict between two sections
|
int |
StudentQuality.Type.penalty(StudentQuality.Context cx,
Student s,
SctAssignment a1,
SctAssignment a2) |
int |
StudentQuality.Quality.penalty(StudentQuality.Context cx,
Student s,
SctAssignment a1,
SctAssignment a2)
When in conflict, what is the penalisation
|
int |
TimeOverlapsCounter.share(SctAssignment a1,
SctAssignment 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,
SctAssignment a1,
Enrollment e2,
SctAssignment a2)
Constructor
|
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) |
Modifier and Type | Class and Description |
---|---|
class |
FreeTimeRequest
Representation of a request of a student for free time.
|
class |
Section
Representation of a class.
|
class |
Unavailability
Representation of an unavailability.
|
Modifier and Type | Method and Description |
---|---|
Set<SctAssignment> |
Enrollment.getAssignments()
List of assignments (selected sections)
|
Modifier and Type | Method and Description |
---|---|
int |
FreeTimeRequest.compareById(SctAssignment a)
Sections first, then by
Request.getId() |
int |
SctAssignment.compareById(SctAssignment a)
Compare assignments by unique ids.
|
int |
Section.compareById(SctAssignment a)
Sections first, then by
Request.getId() |
int |
Unavailability.compareById(SctAssignment a) |
boolean |
FreeTimeRequest.isOverlapping(SctAssignment assignment)
True, if this assignment is overlapping in time and space with the given
assignment.
|
boolean |
SctAssignment.isOverlapping(SctAssignment assignment)
True, if this assignment is overlapping in time and space with the given
assignment.
|
boolean |
Section.isOverlapping(SctAssignment assignment)
True, if this section overlaps with the given assignment in time and
space
|
boolean |
Unavailability.isOverlapping(SctAssignment assignment) |
Modifier and Type | Method and Description |
---|---|
Enrollment |
CourseRequest.createEnrollment(Assignment<Request,Enrollment> assignment,
Set<? extends SctAssignment> sections)
Create enrollment for the given list of sections.
|
Enrollment |
CourseRequest.createEnrollment(Course course,
Set<? extends SctAssignment> sections,
Reservation reservation)
Create enrollment for the given list of sections.
|
Enrollment |
CourseRequest.createEnrollment(Set<? extends SctAssignment> sections,
Reservation reservation)
Create enrollment for the given list of sections.
|
boolean |
FreeTimeRequest.isOverlapping(Set<? extends SctAssignment> assignments)
True, if this assignment is overlapping in time and space with the given
set of assignments.
|
boolean |
SctAssignment.isOverlapping(Set<? extends SctAssignment> assignments)
True, if this assignment is overlapping in time and space with the given
set of assignments.
|
boolean |
Section.isOverlapping(Set<? extends SctAssignment> assignments)
True, if this section overlaps with one of the given set of assignments
in time and space
|
boolean |
Unavailability.isOverlapping(Set<? extends SctAssignment> assignments) |
Constructor and Description |
---|
Enrollment(Request request,
int priority,
boolean noReservationPenalty,
Course course,
Config config,
Set<? extends SctAssignment> assignments,
Reservation reservation)
Constructor
|
Enrollment(Request request,
int priority,
Config config,
Set<? extends SctAssignment> assignments,
Assignment<Request,Enrollment> assignment)
Constructor
|
Enrollment(Request request,
int priority,
Course course,
Config config,
Set<? extends SctAssignment> assignments,
Reservation reservation)
Constructor
|
Modifier and Type | Class and Description |
---|---|
class |
OnlineSection
An online section.
|
Modifier and Type | Method and Description |
---|---|
protected String |
AccommodationConflictsTable.rooms(SctAssignment section) |