@Deprecated public class TimetableSolver extends Solver<Lecture,Placement>
FixCompleteSolutionNeighbourSelection
instead.Solver.SolverThread
iCurrentSolution, iLastSolution, iProgress, iSaveBestUnassigned, iSolverListeners, iSolverThread, iStop, sLogger, THREAD_PRIORITY
Constructor and Description |
---|
TimetableSolver(DataProperties properties)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
fixCompleteSolution(Solution<Lecture,Placement> solution,
double startTime)
Deprecated.
Try to improve existing solution by backtracking search of very limited
depth.
|
void |
initSolver()
Deprecated.
|
protected void |
onAssigned(double startTime,
Solution<Lecture,Placement> solution)
Deprecated.
Called in each iteration, after a neighbour is assigned
|
addExtension, addSolverListener, autoConfigure, clearBest, currentSolution, dispose, getExtensions, getNeighbourSelection, getPerturbationsCounter, getProperties, getSolutionComparator, getSolverListeners, getSolverThread, getTerminationCondition, hasSingleSolution, init, isRunning, isStop, isUpdateProgress, lastSolution, onFailure, onFinish, onStart, onStop, removeSolverListener, setInitalSolution, setInitalSolution, setNeighbourSelection, setPerturbationsCounter, setSolutionComparator, setTerminalCondition, setUpdateProgress, start, stopSolver, stopSolver
public TimetableSolver(DataProperties properties)
public void initSolver()
initSolver
in class Solver<Lecture,Placement>
protected void onAssigned(double startTime, Solution<Lecture,Placement> solution)
Solver
onAssigned
in class Solver<Lecture,Placement>
startTime
- solver start time in secondssolution
- current solutionprotected void fixCompleteSolution(Solution<Lecture,Placement> solution, double startTime)
NeighbourSelectionWithSuggestions
for more details.solution
- current solutionstartTime
- start time