|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.cpsolver.studentsct.reservation.Reservation
net.sf.cpsolver.studentsct.reservation.CourseReservation
public class CourseReservation
Course reservation. Students are matched based on their course requests.
| Constructor Summary | |
|---|---|
CourseReservation(long id,
Course course)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
canAssignOverLimit()
Curriculum reservation cannot go over the limit |
Course |
getCourse()
Course offering |
int |
getPriority()
Reservation priority (lower than individual and group reservations) |
double |
getReservationLimit()
Reservation limit (-1 for unlimited) |
boolean |
isApplicable(Student student)
Check the area, classifications and majors |
boolean |
mustBeUsed()
Course reservation do not need to be used |
| Methods inherited from class net.sf.cpsolver.studentsct.reservation.Reservation |
|---|
addConfig, addSection, assigned, canEnroll, compareTo, getConfigs, getEnrollments, getId, getLimit, getLimitCap, getOffering, getReservedAvailableSpace, getRestrictivity, getSections, getSections, getUsedSpace, isAllowOverlap, isExpired, isIncluded, setExpired, unassigned |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CourseReservation(long id,
Course course)
id - unique idcourse - course offering on which the reservation is set| Method Detail |
|---|
public boolean canAssignOverLimit()
canAssignOverLimit in class Reservationpublic boolean mustBeUsed()
mustBeUsed in class Reservationpublic double getReservationLimit()
getReservationLimit in class Reservationpublic int getPriority()
getPriority in class Reservationpublic Course getCourse()
public boolean isApplicable(Student student)
isApplicable in class Reservationstudent - a student
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||