org.coinor.opents
Interface TabuSearchListener

All Superinterfaces:
java.util.EventListener, java.io.Serializable
All Known Implementing Classes:
TabuSearchAdapter

public interface TabuSearchListener
extends java.io.Serializable, java.util.EventListener

An object that will listen for the tabu search to start.

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

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.
 

Method Detail

tabuSearchStarted

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

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().

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.

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.

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.

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.

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.

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