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.reservation |
Student Sectioning: Reservations.
|
Modifier and Type | Method and Description |
---|---|
protected Config |
StudentSectioningXMLLoader.loadConfig(Element configEl,
Offering offering,
Map<Long,Subpart> subpartTable,
Map<Long,Section> sectionTable,
Map<Long,Placement> timetable)
Load config
|
Modifier and Type | Method and Description |
---|---|
double |
StudentPreferencePenalties.getMaxPenalty(Config config)
Maximal penalty of a config
|
double |
StudentPreferencePenalties.getMinPenalty(Config config)
Minimal penalty of a config
|
protected Subpart |
StudentSectioningXMLLoader.loadSubpart(Element subpartEl,
Config config,
Map<Long,Subpart> subpartTable,
Map<Long,Section> sectionTable,
Map<Long,Placement> timetable)
Load subpart
|
protected void |
StudentSectioningXMLSaver.saveConfig(Element configEl,
Config config)
Save given config
|
Modifier and Type | Method and Description |
---|---|
protected Reservation |
StudentSectioningXMLLoader.loadReservation(Element reservationEl,
Offering offering,
HashMap<Long,Config> configTable,
HashMap<Long,Section> sectionTable)
Load reservation
|
Modifier and Type | Method and Description |
---|---|
static double |
ConfigLimit.getEnrollmentWeight(Config config,
Request request)
Enrollment weight of a config if the given request is assigned.
|
static double |
ReservationLimit.getUnreservedSpace(Config config,
Request request)
Remaining unreserved space in a config if the given request is assigned.
|
Modifier and Type | Method and Description |
---|---|
Config |
Enrollment.getConfig()
Config of the course request
|
Config |
Subpart.getConfig()
Instructional offering configuration to which this subpart belongs
|
Config |
CourseRequest.getConfig(long configId)
Return configuration of the requested courses with the given id
|
Modifier and Type | Method and Description |
---|---|
List<Config> |
Offering.getConfigs()
Possible configurations
|
Constructor and Description |
---|
Enrollment(Request request,
int priority,
Config config,
Set<? extends Assignment> assignments)
Constructor
|
Enrollment(Request request,
int priority,
Course course,
Config config,
Set<? extends Assignment> assignments,
Reservation reservation)
Constructor
|
Subpart(long id,
String itype,
String name,
Config config,
Subpart parent)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Set<Config> |
Reservation.getConfigs()
One or more configurations on which the reservation is set (optional).
|
Modifier and Type | Method and Description |
---|---|
void |
Reservation.addConfig(Config config)
Add a configuration (of the offering
Reservation.getOffering() ) to this reservation |