|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.cpsolver.coursett.TimetableSaver
public abstract class TimetableSaver
Abstract timetable saver class.
| Constructor Summary | |
|---|---|
TimetableSaver(Solver<Lecture,Placement> solver)
Constructor |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimetableSaver(Solver<Lecture,Placement> solver)
| Method Detail |
|---|
public Solver<Lecture,Placement> getSolver()
protected Solution<Lecture,Placement> getSolution()
protected TimetableModel getModel()
public abstract void save()
throws Exception
Exceptionpublic void setCallback(Callback callback)
callback - method Callback.execute() is executed when save is
donepublic void run()
run in interface Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||