public abstract class StudentSectioningSaver extends Object implements Runnable
Constructor and Description |
---|
StudentSectioningSaver(Solver<Request,Enrollment> solver)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected StudentSectioningModel |
getModel()
Model of the solution
|
protected Solution<Request,Enrollment> |
getSolution()
Solution to be saved
|
Solver<Request,Enrollment> |
getSolver()
Solver
|
void |
run() |
abstract void |
save()
Save the solution
|
void |
setCallback(Callback callback)
Sets callback class
|
public StudentSectioningSaver(Solver<Request,Enrollment> solver)
public Solver<Request,Enrollment> getSolver()
protected Solution<Request,Enrollment> getSolution()
protected StudentSectioningModel getModel()
public void setCallback(Callback callback)
callback
- method Callback.execute()
is executed when save is
done