Package | Description |
---|---|
org.cpsolver.studentsct |
Student Sectioning Solver.
|
org.cpsolver.studentsct.model |
Student Sectioning: Model.
|
org.cpsolver.studentsct.online |
Online Student Sectioning Solver.
|
org.cpsolver.studentsct.reservation |
Student Sectioning: Reservations.
|
Modifier and Type | Method and Description |
---|---|
protected Reservation |
StudentSectioningXMLLoader.loadReservation(Element reservationEl,
Offering offering,
HashMap<Long,Config> configTable,
HashMap<Long,Section> sectionTable)
Load reservation
|
Modifier and Type | Method and Description |
---|---|
protected void |
StudentSectioningXMLSaver.saveReservation(Element reservationEl,
Reservation reservation)
Save reservation
|
Modifier and Type | Method and Description |
---|---|
Reservation |
Enrollment.getReservation()
Return reservation used for this enrollment
|
Modifier and Type | Method and Description |
---|---|
List<Reservation> |
Config.getConfigReservations()
Get reservations that require this configuration
|
List<Reservation> |
Config.getReservations()
Get reservations for this configuration
|
List<Reservation> |
Offering.getReservations()
Reservations associated with this offering
|
List<Reservation> |
Section.getReservations()
Get reservations for this section
|
List<Reservation> |
CourseRequest.getReservations(Course course)
Get reservations for this course requests
|
List<Reservation> |
Section.getSectionReservations()
Get reservations that require this section
|
List<Reservation> |
Subpart.getSectionReservations()
Get reservations that require sections of this subpart
|
TreeSet<Reservation> |
CourseRequest.getSortedReservations(Assignment<Request,Enrollment> assignment,
Course course)
Get reservations for this course requests ordered using
compareTo(Assignment, Reservation) |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
Enrollment.setReservation(Reservation reservation)
Set reservation for this enrollment
|
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,
Course course,
Config config,
Set<? extends SctAssignment> assignments,
Reservation reservation)
Constructor
|
Modifier and Type | Class and Description |
---|---|
class |
OnlineReservation
An online reservation.
|
Modifier and Type | Class and Description |
---|---|
class |
CourseReservation
Course reservation.
|
class |
CurriculumOverride
Curriculum reservation override.
|
class |
CurriculumReservation
Curriculum reservation.
|
class |
DummyReservation
Dummy reservation.
|
class |
GroupReservation
Group reservation.
|
class |
IndividualReservation
Individual reservation.
|
class |
LearningCommunityReservation
Learning Community reservation.
|
class |
ReservationOverride
Reservation override.
|
Modifier and Type | Method and Description |
---|---|
int |
Reservation.compareTo(Assignment<Request,Enrollment> assignment,
Reservation r)
Priority first, than restrictivity (more restrictive first), than availability (more available first), than id
|
int |
Reservation.compareTo(Reservation r)
Priority first, than restrictivity (more restrictive first), than id
|