Package | Description |
---|---|
net.sf.cpsolver.studentsct |
Student Sectioning Solver.
|
net.sf.cpsolver.studentsct.constraint |
Student Sectioning: Constraints.
|
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 Course |
StudentSectioningXMLLoader.loadCourse(Element courseEl,
Offering offering)
Load course
|
Modifier and Type | Method and Description |
---|---|
static double |
Test.getLastLikeStudentWeight(Course course,
int real,
int lastLike)
Compute last-like student weight for the given course
|
protected void |
StudentSectioningXMLSaver.saveCourse(Element courseEl,
Course course)
Save given course
|
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.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 void |
StudentSectioningXMLLoader.loadStudents(Element studentsEl,
Map<Long,Offering> offeringTable,
Map<Long,Course> courseTable)
Load students
|
Modifier and Type | Method and Description |
---|---|
static double |
CourseLimit.getEnrollmentWeight(Course course,
Request request)
Enrollment weight of a course if the given request is assigned.
|
Modifier and Type | Method and Description |
---|---|
Course |
Enrollment.getCourse()
Course of the course request
|
Course |
CourseRequest.getCourse(long courseId)
Return course of the requested courses with the given id
|
Course |
Offering.getCourse(Student student)
Return course, under which the given student enrolls into this offering.
|
Modifier and Type | Method and Description |
---|---|
List<Course> |
CourseRequest.getCourses()
List of requested courses (in the correct order -- first is the requested
course, second is the first alternative, etc.)
|
List<Course> |
Offering.getCourses()
List of courses.
|
Modifier and Type | Method and Description |
---|---|
List<Reservation> |
CourseRequest.getReservations(Course course)
Get reservations for this course requests
|
Constructor and Description |
---|
Enrollment(Request request,
int priority,
Course course,
Config config,
Set<? extends Assignment> assignments,
Reservation reservation)
Constructor
|
Constructor and Description |
---|
CourseRequest(long id,
int priority,
boolean alternative,
Student student,
List<Course> courses,
boolean waitlist,
Long timeStamp)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Course |
CourseSection.getCourse()
Course
|
Constructor and Description |
---|
CourseSection(Course course,
Section section)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Course |
CourseReservation.getCourse()
Course offering
|
Constructor and Description |
---|
CourseReservation(long id,
Course course)
Constructor
|