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.online.selection |
Online Student Sectioning Solver: Selection Weights and Heuristics.
|
org.cpsolver.studentsct.report |
Student Sectioning: Various Reports.
|
org.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,
List<Enrollment> bestEnrollments,
List<Enrollment> currentEnrollments)
Load students
|
Modifier and Type | Method and Description |
---|---|
static double |
CourseLimit.getEnrollmentWeight(Assignment<Request,Enrollment> assignment,
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 |
RequestGroup.getCourse()
Course associated with this group.
|
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 |
---|---|
Enrollment |
CourseRequest.createEnrollment(Course course,
Set<? extends SctAssignment> sections,
Reservation reservation)
Create enrollment for the given list of sections.
|
List<Reservation> |
CourseRequest.getReservations(Course course)
Get reservations for this course requests
|
List<Restriction> |
CourseRequest.getRestrictions(Course course)
Get restrictions for this course requests
|
TreeSet<Reservation> |
CourseRequest.getSortedReservations(Assignment<Request,Enrollment> assignment,
Course course)
Get reservations for this course requests ordered using
Reservation.compareTo(Assignment, Reservation) |
boolean |
CourseRequest.hasRestrictions(Course course)
Return true if there is a restriction for a course of this request
|
boolean |
CourseRequest.isNotAllowed(Course course,
Config config)
Return true when there are restrictions for a course of this course request and the given config does not meet any of them
|
boolean |
CourseRequest.isNotAllowed(Course course,
Section section)
Return true when there are restrictions for a course of this course request and the given section does not meet any of them
|
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
|
RequestGroup(long id,
String name,
Course course)
Creates request group.
|
Constructor and Description |
---|
CourseRequest(long id,
int priority,
boolean alternative,
Student student,
List<Course> courses,
boolean waitlist,
boolean critical,
Long timeStamp)
Constructor
|
CourseRequest(long id,
int priority,
boolean alternative,
Student student,
List<Course> courses,
boolean waitlist,
Long timeStamp)
Constructor
|
CourseRequest(long id,
int priority,
boolean alternative,
Student student,
List<Course> courses,
boolean waitlist,
Request.RequestPriority importance,
Long timeStamp)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected Course |
Test.clone(Course course,
long studentId,
Student originalStudent,
Map<Long,Section> classTable,
StudentSectioningModel model) |
Modifier and Type | Method and Description |
---|---|
protected Course |
Test.clone(Course course,
long studentId,
Student originalStudent,
Map<Long,Section> classTable,
StudentSectioningModel model) |
Modifier and Type | Method and Description |
---|---|
boolean |
SuggestionsBranchAndBound.SuggestionFilter.match(Course course,
Section section)
Match the given section
|
boolean |
ResectioningWeights.LastSectionProvider.sameLastName(Section current,
Course course)
Check section name (external id)
|
Modifier and Type | Method and Description |
---|---|
Course |
AbstractStudentSectioningReport.RequestMatcher.course() |
Course |
AbstractStudentSectioningReport.CourseMatcher.course() |
Course |
CourseSection.getCourse()
Course
|
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractStudentSectioningReport.matches(Course c) |
boolean |
StudentSectioningReport.Filter.matches(Course c)
Returns true if the given course matches the filter.
|
Constructor and Description |
---|
CourseMatcher(Course course) |
CourseSection(Course course,
Section section)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Course |
CourseReservation.getCourse()
Course offering
|
Course |
CourseRestriction.getCourse()
Course offering
|
Course |
LearningCommunityReservation.getCourse()
Course offering
|
Constructor and Description |
---|
CourseReservation(long id,
Course course)
Constructor
|
CourseRestriction(long id,
Course course)
Constructor
|
LearningCommunityReservation(long id,
double limit,
Course course,
Collection<Long> studentIds)
Constructor
|
LearningCommunityReservation(long id,
double limit,
Course course,
Long... studentIds)
Constructor
|