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