Package | Description |
---|---|
net.sf.cpsolver.studentsct |
Student Sectioning Solver.
|
net.sf.cpsolver.studentsct.constraint |
Student Sectioning: Constraints.
|
net.sf.cpsolver.studentsct.extension |
Student Sectioning: Various Extensions.
|
net.sf.cpsolver.studentsct.model |
Student Sectioning: Model.
|
net.sf.cpsolver.studentsct.report |
Student Sectioning: Various Reports.
|
net.sf.cpsolver.studentsct.reservation |
Student Sectioning: Reservations.
|
Modifier and Type | Method and Description |
---|---|
protected Section |
StudentSectioningXMLLoader.loadSection(Element sectionEl,
Subpart subpart,
Map<Long,Section> sectionTable,
Map<Long,Placement> timetable)
Load section
|
Modifier and Type | Method and Description |
---|---|
void |
StudentSectioningModel.addLinkedSections(Section... sections)
Link sections using
LinkedSections |
protected void |
StudentSectioningXMLSaver.saveSection(Element sectionEl,
Section section)
Save section
|
Modifier and Type | Method and Description |
---|---|
void |
StudentSectioningModel.addLinkedSections(Collection<Section> sections)
Link sections using
LinkedSections |
protected Config |
StudentSectioningXMLLoader.loadConfig(Element configEl,
Offering offering,
Map<Long,Subpart> subpartTable,
Map<Long,Section> sectionTable,
Map<Long,Placement> timetable)
Load config
|
protected Reservation |
StudentSectioningXMLLoader.loadReservation(Element reservationEl,
Offering offering,
HashMap<Long,Config> configTable,
HashMap<Long,Section> sectionTable)
Load reservation
|
protected Section |
StudentSectioningXMLLoader.loadSection(Element sectionEl,
Subpart subpart,
Map<Long,Section> sectionTable,
Map<Long,Placement> timetable)
Load section
|
protected Subpart |
StudentSectioningXMLLoader.loadSubpart(Element subpartEl,
Config config,
Map<Long,Subpart> subpartTable,
Map<Long,Section> sectionTable,
Map<Long,Placement> timetable)
Load subpart
|
Modifier and Type | Method and Description |
---|---|
Set<Section> |
LinkedSections.getSections(Subpart subpart)
Return section (or sections) of a subpart of this link
|
Modifier and Type | Method and Description |
---|---|
static double |
SectionLimit.getEnrollmentWeight(Section section,
Request request)
Enrollment weight of a section if the given request is assigned.
|
static double |
SectionLimit.getUnreservedSpace(Section section,
Request request)
Remaining unreserved space in a section if the given request is assigned.
|
Constructor and Description |
---|
LinkedSections(Section... sections)
Constructor
|
Constructor and Description |
---|
LinkedSections(Collection<Section> sections)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Section |
DistanceConflict.Conflict.getS1()
First section
|
Section |
DistanceConflict.Conflict.getS2()
Second section
|
Modifier and Type | Method and Description |
---|---|
boolean |
DistanceConflict.inConflict(Section s1,
Section s2)
Return true if the given two sections are in distance conflict.
|
Constructor and Description |
---|
Conflict(Student student,
Enrollment e1,
Section s1,
Enrollment e2,
Section s2)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Section |
Section.getParent()
Parent section of this section (can be null).
|
Section |
CourseRequest.getSection(long sectionId)
Return section of the requested courses with the given id
|
Section |
Offering.getSection(long sectionId)
Return section of the given id, if it is part of one of this offering
configurations.
|
Modifier and Type | Method and Description |
---|---|
Set<Section> |
Choice.getParentSections()
List of parent sections of sections of the instructional offering which
represent this choice.
|
Set<Section> |
Choice.getSections()
List of sections of the instructional offering which represent this
choice.
|
Set<Section> |
Enrollment.getSections()
List of sections (only for course request)
|
List<Section> |
Subpart.getSections()
List of sections
|
Modifier and Type | Method and Description |
---|---|
int |
Section.compareTo(Section s)
Compare two sections, prefer sections with lower penalty and more open
space
|
boolean |
CourseRequest.isSelected(Section section)
Return true when the given section is selected (i.e., its choice is among
selected choices)
|
boolean |
CourseRequest.isWaitlisted(Section section)
Return true when the given section is wait-listed (i.e., its choice is
among wait-listed choices)
|
Constructor and Description |
---|
Section(long id,
int limit,
String name,
Subpart subpart,
Placement placement,
String instructorIds,
String instructorNames,
Section parent)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Section |
CourseSection.getSection()
Class
|
Constructor and Description |
---|
CourseSection(Course course,
Section section)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Map<Subpart,Set<Section>> |
Reservation.getSections()
One or more sections on which the reservation is set (optional).
|
Set<Section> |
Reservation.getSections(Subpart subpart)
One or more sections on which the reservation is set (optional).
|
Modifier and Type | Method and Description |
---|---|
void |
Reservation.addSection(Section section)
Add a section (of the offering
Reservation.getOffering() ) to this reservation. |