Package | Description |
---|---|
org.cpsolver.studentsct |
Student Sectioning Solver.
|
org.cpsolver.studentsct.constraint |
Student Sectioning: Constraints.
|
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 |
---|---|
List<Offering> |
StudentSectioningModel.getOfferings()
List of offerings
|
Modifier and Type | Method and Description |
---|---|
void |
StudentSectioningModel.addOffering(Offering offering)
Add an offering into the model
|
double |
StudentPreferencePenalties.getMaxPenalty(Offering offering)
Maximal penalty of an offering
|
double |
StudentPreferencePenalties.getMinPenalty(Offering offering)
Minimal penalty of an offering
|
protected Config |
StudentSectioningXMLLoader.loadConfig(Element configEl,
Offering offering,
Map<Long,Subpart> subpartTable,
Map<Long,Section> sectionTable,
Map<Long,Placement> timetable)
Load config
|
protected Course |
StudentSectioningXMLLoader.loadCourse(Element courseEl,
Offering offering)
Load course
|
protected Reservation |
StudentSectioningXMLLoader.loadReservation(Element reservationEl,
Offering offering,
HashMap<Long,Config> configTable,
HashMap<Long,Section> sectionTable)
Load reservation
|
protected Restriction |
StudentSectioningXMLLoader.loadRestriction(Element restrictionEl,
Offering offering,
HashMap<Long,Config> configTable,
HashMap<Long,Section> sectionTable)
Load restriction
|
protected void |
StudentSectioningXMLSaver.saveOffering(Element offeringEl,
Offering offering)
Save given offering
|
protected void |
StudentSectioningXMLSaver.saveReservations(Element offeringEl,
Offering offering)
Save reservations of the given offering
|
protected void |
StudentSectioningXMLSaver.saveRestrictions(Element offeringEl,
Offering offering)
Save restrictions of the given offering
|
Modifier and Type | Method and Description |
---|---|
CourseRequest |
StudentSectioningXMLLoader.loadCourseRequest(Element requestEl,
Student student,
Map<Long,Offering> offeringTable,
Map<Long,Course> courseTable)
Load course request
|
protected void |
StudentSectioningXMLLoader.loadLinkedSections(Element constraintsEl,
Map<Long,Offering> offeringTable)
Load linked sections
|
protected void |
StudentSectioningXMLLoader.loadOfferings(Element offeringsEl,
Map<Long,Offering> offeringTable,
Map<Long,Course> courseTable,
Map<Long,Placement> timetable)
Load offerings
|
protected Request |
StudentSectioningXMLLoader.loadRequest(Element requestEl,
Student student,
Map<Long,Offering> offeringTable,
Map<Long,Course> courseTable)
Load request
|
protected Student |
StudentSectioningXMLLoader.loadStudent(Element studentEl,
Map<Long,Offering> offeringTable)
Load student
|
protected void |
StudentSectioningXMLLoader.loadStudents(Element studentsEl,
Map<Long,Offering> offeringTable,
Map<Long,Course> courseTable,
List<Enrollment> bestEnrollments,
List<Enrollment> currentEnrollments)
Load students
|
Modifier and Type | Method and Description |
---|---|
Set<Offering> |
LinkedSections.getOfferings()
Return offerings of this link
|
Modifier and Type | Method and Description |
---|---|
Set<Subpart> |
LinkedSections.getSubparts(Offering offering)
Return subpart (or subparts) of an offering of this link
|
Modifier and Type | Method and Description |
---|---|
Offering |
Choice.getOffering()
Instructional offering to which this choice belongs
|
Offering |
Config.getOffering()
Instructional offering to which this configuration belongs.
|
Offering |
Course.getOffering()
Instructional offering which is offered under this course offering.
|
Offering |
Enrollment.getOffering()
Offering of the course request
|
Constructor and Description |
---|
Choice(Offering offering,
String choiceId)
Constructor
|
Choice(Offering offering,
String instructionalType,
TimeLocation time,
List<Instructor> instructors)
Constructor
|
Choice(Offering offering,
String instructionalType,
TimeLocation time,
String instructorIds,
String instructorNames)
Deprecated.
|
Config(long id,
int limit,
String name,
Offering offering)
Constructor
|
Course(long id,
String subjectArea,
String courseNumber,
Offering offering)
Constructor
|
Course(long id,
String subjectArea,
String courseNumber,
Offering offering,
int limit,
int projected)
Constructor
|
Constructor and Description |
---|
OnlineConfig(long id,
int limit,
String name,
Offering offering) |
OnlineReservation(int type,
long id,
Offering offering,
int priority,
boolean over,
int limit,
boolean apply,
boolean mustUse,
boolean allowOverlap,
boolean expired)
Constructor
|
OnlineReservation(int type,
long id,
Offering offering,
int priority,
boolean over,
int limit,
boolean apply,
boolean mustUse,
boolean allowOverlap,
boolean expired,
boolean override)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Offering |
Reservation.getOffering()
Instructional offering on which the reservation is set.
|
Offering |
Restriction.getOffering()
Instructional offering on which the restriction is set.
|
Constructor and Description |
---|
CurriculumOverride(long id,
double limit,
Offering offering,
Collection<String> acadAreas,
Collection<String> classifications,
Collection<String> majors,
Collection<String> minors) |
CurriculumOverride(long id,
double limit,
Offering offering,
String acadArea,
Collection<String> classifications,
Collection<String> majors)
Deprecated.
|
CurriculumReservation(long id,
double limit,
Offering offering,
Collection<String> acadAreas,
Collection<String> classifications,
Collection<String> majors,
Collection<String> minors)
Constructor
|
CurriculumReservation(long id,
double limit,
Offering offering,
Collection<String> acadAreas,
Collection<String> classifications,
Collection<String> majors,
Collection<String> minors,
int priority,
boolean mustBeUsed,
boolean canAssignOverLimit,
boolean allowOverlap)
Constructor
|
CurriculumReservation(long id,
double limit,
Offering offering,
String acadArea,
Collection<String> classifications,
Collection<String> majors)
Deprecated.
|
CurriculumReservation(long id,
double limit,
Offering offering,
String acadArea,
Collection<String> classifications,
Collection<String> majors,
int priority,
boolean mustBeUsed,
boolean canAssignOverLimit,
boolean allowOverlap)
Deprecated.
|
CurriculumRestriction(long id,
Offering offering,
Collection<String> acadAreas,
Collection<String> classifications,
Collection<String> majors)
Constructor
|
CurriculumRestriction(long id,
Offering offering,
Collection<String> acadAreas,
Collection<String> classifications,
Collection<String> majors,
Collection<String> minors)
Constructor
|
CurriculumRestriction(long id,
Offering offering,
String acadArea,
Collection<String> classifications,
Collection<String> majors)
Deprecated.
|
DummyReservation(Offering offering)
Constructor
|
GroupReservation(long id,
double limit,
Offering offering,
Collection<Long> studentIds)
Constructor
|
GroupReservation(long id,
double limit,
Offering offering,
int priority,
boolean mustBeUsed,
boolean canAssignOverLimit,
boolean allowOverlap,
Collection<Long> studentIds)
Constructor
|
GroupReservation(long id,
double limit,
Offering offering,
int priority,
boolean mustBeUsed,
boolean canAssignOverLimit,
boolean allowOverlap,
Long... studentIds)
Constructor
|
GroupReservation(long id,
double limit,
Offering offering,
Long... studentIds)
Constructor
|
IndividualReservation(long id,
Offering offering,
Collection<Long> studentIds)
Constructor
|
IndividualReservation(long id,
Offering offering,
int priority,
boolean mustBeUsed,
boolean canAssignOverLimit,
boolean allowOverlap,
Collection<Long> studentIds)
Constructor
|
IndividualReservation(long id,
Offering offering,
int priority,
boolean mustBeUsed,
boolean canAssignOverLimit,
boolean allowOverlap,
Long... studentIds)
Constructor
|
IndividualReservation(long id,
Offering offering,
Long... studentIds)
Constructor
|
IndividualRestriction(long id,
Offering offering,
Collection<Long> studentIds)
Constructor
|
IndividualRestriction(long id,
Offering offering,
Long... studentIds)
Constructor
|
Reservation(long id,
Offering offering,
int priority,
boolean mustBeUsed,
boolean canAssignOverLimit,
boolean allowOverlap)
Constructor
|
ReservationOverride(long id,
Offering offering,
Collection<Long> studentIds)
Constructor
|
ReservationOverride(long id,
Offering offering,
Long... studentIds)
Constructor
|
Restriction(long id,
Offering offering)
Constructor
|
UniversalOverride(long id,
boolean override,
double limit,
Offering offering,
String filter) |