|
||||||||||
| 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.DummyReservation
public class DummyReservation
Dummy reservation. Use to fill remaining space for offerings that are marked as by reservation only.
| Constructor Summary | |
|---|---|
DummyReservation(Offering offering)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
canAssignOverLimit()
Dummy reservation cannot go over the limit |
int |
getPriority()
Dummy reservation has low priority |
double |
getReservationLimit()
Dummy reservation is unlimited |
boolean |
isApplicable(Student student)
Dummy reservation is not applicable to any students |
boolean |
mustBeUsed()
Dummy 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 DummyReservation(Offering offering)
offering - offering on which the reservation is set| Method Detail |
|---|
public double getReservationLimit()
getReservationLimit in class Reservationpublic int getPriority()
getPriority in class Reservationpublic boolean isApplicable(Student student)
isApplicable in class Reservationstudent - a student
public boolean canAssignOverLimit()
canAssignOverLimit in class Reservationpublic boolean mustBeUsed()
mustBeUsed in class Reservation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||