Package | Description |
---|---|
tlass.project | |
tlass.project.model |
Modifier and Type | Method and Description |
---|---|
Model |
Controller.getModel()
Retrieves the current model
|
Model |
SemesterHandler.loadSemester(java.lang.String semester)
Loads the semesters from the DataStore
|
Modifier and Type | Method and Description |
---|---|
void |
SemesterHandler.addSemester(java.lang.String name,
Model model)
Adds a semester of the supplied name to the supplied model.
|
static java.util.ArrayList<Position> |
Scheduler.findProblemPositions(Model model)
Returns an ArrayList of positions cannot be assigned.
|
void |
ModelHandler.loadModel(Model newModel)
Loads the supplied model
|
static Schedule |
Scheduler.pick(Model model)
Creates a schedule by taking all of the positions and assistants
and applying the constraints and returns a list of pairings
that abides by the constraints.
|
void |
SemesterHandler.saveSemester(java.lang.String name,
Model model)
Saves all of the data from the semester to the DataStore
|
void |
ModelHandler.setModel(Model newModel)
Sets the current model to the one that was provided.
|
void |
Controller.setModel(Model newModel)
Sets the current model
|
Constructor and Description |
---|
ModelHandler(Model m) |
Modifier and Type | Method and Description |
---|---|
void |
Model.loadModel(Model newModel)
Replaces all the data in the model with the data from the given model
|