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.report |
Student Sectioning: Various Reports.
|
org.cpsolver.studentsct.reservation |
Student Sectioning: Reservations.
|
Modifier and Type | Method and Description |
---|---|
void |
StudentSectioningModel.addLinkedSections(Section... sections)
Link sections using
LinkedSections |
Modifier and Type | Method and Description |
---|---|
void |
StudentSectioningModel.addLinkedSections(Collection<Section> sections)
Link sections using
LinkedSections |
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(Assignment<Request,Enrollment> assignment,
Section section,
Request request)
Enrollment weight of a section if the given request is assigned.
|
static double |
SectionLimit.getUnreservedSpace(Assignment<Request,Enrollment> assignment,
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 |
Offering.getSection(long sectionId)
Return section of the given id, if it is part of one of this offering
configurations.
|
Section |
CourseRequest.getSection(long sectionId)
Return section of the requested courses with the given id
|
Modifier and Type | Method and Description |
---|---|
Set<Section> |
Choice.getParentSections()
List of parent sections of sections of the instructional offering which
represent this choice.
|
List<Section> |
Subpart.getSections()
List of sections
|
Set<Section> |
Enrollment.getSections()
List of sections (only for course request)
|
Set<Section> |
Choice.getSections()
List of sections of the instructional offering which represent this
choice.
|
Modifier and Type | Method and Description |
---|---|
int |
Section.compareTo(Assignment<Request,Enrollment> assignment,
Section s)
Compare two sections, prefer sections with lower penalty and more open
space
|
int |
Section.compareTo(Section s)
Compare two sections, prefer sections with lower penalty
|
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. |
Copyright © 2014 UniTime LLC. All Rights Reserved.