org.coinor.opents
Class TabuSearchAdapter

java.lang.Object
  extended byorg.coinor.opents.TabuSearchAdapter
All Implemented Interfaces:
java.util.EventListener, java.io.Serializable, TabuSearchListener

public class TabuSearchAdapter
extends java.lang.Object
implements TabuSearchListener

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

Since:
1.0
See Also:
TabuSearch, TabuSearchEvent, TabuSearchListener, Serialized Form

Constructor 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

TabuSearchAdapter

public TabuSearchAdapter()
Method Detail

tabuSearchStarted

public void tabuSearchStarted(TabuSearchEvent e)
Called when the tabu search has started.

Specified by:
tabuSearchStarted in interface TabuSearchListener
Parameters:
e - The TabuSearchEvent referencing the TabuSearch that started.
Since:
1.0
See Also:
TabuSearchEvent, TabuSearch

tabuSearchStopped

public void tabuSearchStopped(TabuSearchEvent e)
Called when the tabu search stops solving, either because all requested iterations are completed or someone has called myTabuSearch.stopSolving().

Specified by:
tabuSearchStopped in interface TabuSearchListener
Parameters:
e - The TabuSearchEvent referencing the TabuSearch that stopped.
Since:
1.0
See Also:
TabuSearchEvent, TabuSearch

newBestSolutionFound

public void newBestSolutionFound(TabuSearchEvent e)
Called when a new best solution is found.

Specified by:
newBestSolutionFound in interface TabuSearchListener
Parameters:
e - The TabuSearchEvent referencing the TabuSearch that found the new best solution.
Since:
1.0
See Also:
TabuSearchEvent

newCurrentSolutionFound

public 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.

Specified by:
newCurrentSolutionFound in interface TabuSearchListener
Parameters:
e - The TabuSearchEvent referencing the TabuSearch that found a new current solution.
Since:
1.0
See Also:
TabuSearchEvent, TabuSearch

unimprovingMoveMade

public void unimprovingMoveMade(TabuSearchEvent e)
Called when the tabu search makes an unimproving move.

Specified by:
unimprovingMoveMade in interface TabuSearchListener
Parameters:
e - The TabuSearchEvent referencing the TabuSearch that made the unimproving move.
Since:
1.0
See Also:
TabuSearchEvent, TabuSearch

improvingMoveMade

public void improvingMoveMade(TabuSearchEvent e)
Called when the tabu search makes an improving move.

Specified by:
improvingMoveMade in interface TabuSearchListener
Parameters:
e - The TabuSearchEvent referencing the TabuSearch that made the improving move.
Since:
1.0-exp7
See Also:
TabuSearchEvent, TabuSearch

noChangeInValueMoveMade

public void noChangeInValueMoveMade(TabuSearchEvent e)
Called when the tabu search makes a no change in value move.

Specified by:
noChangeInValueMoveMade in interface TabuSearchListener
Parameters:
e - The TabuSearchEvent referencing the TabuSearch that made the no change in solution value move.
Since:
1.0-exp7
See Also:
TabuSearchEvent, TabuSearch