|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.coinor.opents.TabuSearchAdapter
Implements all the TabuSearchListener
methods with empty methods.
This code is licensed for public use under the Common Public License version 0.5.
The Common Public License, developed by IBM and modeled after their industry-friendly IBM Public License,
differs from other common open source licenses in several important ways:
Copyright © 2001 Robert Harder
TabuSearch
,
TabuSearchEvent
,
TabuSearchListener
,
Serialized FormConstructor Summary | |
TabuSearchAdapter()
|
Method Summary | |
void |
improvingMoveMade(TabuSearchEvent e)
Called when the tabu search makes an improving move. |
void |
newBestSolutionFound(TabuSearchEvent e)
Called when a new best solution is found. |
void |
newCurrentSolutionFound(TabuSearchEvent e)
Called when a new current solution is found, which, by defintion, is at every iteration, even if your "move" doesn't perceptibly alter the solution. |
void |
noChangeInValueMoveMade(TabuSearchEvent e)
Called when the tabu search makes a no change in value move. |
void |
tabuSearchStarted(TabuSearchEvent e)
Called when the tabu search has started. |
void |
tabuSearchStopped(TabuSearchEvent e)
Called when the tabu search stops solving, either because all requested iterations are completed or someone has called myTabuSearch.stopSolving() . |
void |
unimprovingMoveMade(TabuSearchEvent e)
Called when the tabu search makes an unimproving move. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TabuSearchAdapter()
Method Detail |
public void tabuSearchStarted(TabuSearchEvent e)
tabuSearchStarted
in interface TabuSearchListener
e
- The TabuSearchEvent
referencing the TabuSearch
that started.TabuSearchEvent
,
TabuSearch
public void tabuSearchStopped(TabuSearchEvent e)
myTabuSearch.stopSolving()
.
tabuSearchStopped
in interface TabuSearchListener
e
- The TabuSearchEvent
referencing the TabuSearch
that stopped.TabuSearchEvent
,
TabuSearch
public void newBestSolutionFound(TabuSearchEvent e)
newBestSolutionFound
in interface TabuSearchListener
e
- The TabuSearchEvent
referencing the TabuSearch
that found
the new best solution.TabuSearchEvent
public void newCurrentSolutionFound(TabuSearchEvent e)
newCurrentSolutionFound
in interface TabuSearchListener
e
- The TabuSearchEvent
referencing the TabuSearch
that found
a new current solution.TabuSearchEvent
,
TabuSearch
public void unimprovingMoveMade(TabuSearchEvent e)
unimprovingMoveMade
in interface TabuSearchListener
e
- The TabuSearchEvent
referencing the TabuSearch
that made
the unimproving move.TabuSearchEvent
,
TabuSearch
public void improvingMoveMade(TabuSearchEvent e)
improvingMoveMade
in interface TabuSearchListener
e
- The TabuSearchEvent
referencing the TabuSearch
that made
the improving move.TabuSearchEvent
,
TabuSearch
public void noChangeInValueMoveMade(TabuSearchEvent e)
noChangeInValueMoveMade
in interface TabuSearchListener
e
- The TabuSearchEvent
referencing the TabuSearch
that made
the no change in solution value move.TabuSearchEvent
,
TabuSearch
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |