public class OnlineConfig extends Config
Config
class that allows to set the current configuration enrollment.
This class is particularly useful when a model containing only the given student is constructed (to provide him/her with a schedule or suggestions).Config.ConfigContext
sMaxSize
Constructor and Description |
---|
OnlineConfig(long id,
int limit,
String name,
Offering offering) |
Modifier and Type | Method and Description |
---|---|
int |
getEnrollment()
Get current enrollment
|
void |
setEnrollment(int enrollment)
Set current enrollment
|
clearReservationCache, createAssignmentContext, equals, getConfigReservations, getEnrollments, getEnrollmentWeight, getId, getLimit, getMaxEnrollmentWeight, getMaxPenalty, getMinEnrollmentWeight, getMinPenalty, getModel, getName, getOffering, getReservations, getSubparts, getTotalUnreservedSpace, getUnreservedSpace, hashCode, inheritAssignmentContext, setLimit, toString
getAssignmentContextReference, getContext, getContext, setAssignmentContextReference
public OnlineConfig(long id, int limit, String name, Offering offering)
public void setEnrollment(int enrollment)
enrollment
- current enrollmentpublic int getEnrollment()
Copyright © 2016 UniTime LLC. All Rights Reserved.