org.coinor.opents
Class BestEverAspirationCriteria

java.lang.Object
  extended byorg.coinor.opents.BestEverAspirationCriteria
All Implemented Interfaces:
AspirationCriteria, java.io.Serializable

public class BestEverAspirationCriteria
extends java.lang.Object
implements AspirationCriteria

Determine if the proposed tabu move should in fact be allowed because it results in a value better than the current best solution's value. This is the most common aspiration criteria used in tabu search.
Thanks to Victor Wiley from the University of Texas at Austin for writing the first draft of this class.

Since:
1.0.1
See Also:
AspirationCriteria, Solution, Move, TabuSearch, Serialized Form

Constructor Summary
BestEverAspirationCriteria()
           
 
Method Summary
 boolean overrideTabu(Solution solution, Move proposedMove, double[] proposedValue, TabuSearch tabuSearch)
          Determine if the proposed tabu move should in fact be allowed because it results in a value better than the current best solution's value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BestEverAspirationCriteria

public BestEverAspirationCriteria()
Method Detail

overrideTabu

public boolean overrideTabu(Solution solution,
                            Move proposedMove,
                            double[] proposedValue,
                            TabuSearch tabuSearch)
Determine if the proposed tabu move should in fact be allowed because it results in a value better than the current best solution's value. This is the most common aspiration criteria used in tabu search.
Thanks to Victor Wiley from the University of Texas at Austin for writing the first draft of this class.

Specified by:
overrideTabu in interface AspirationCriteria
Parameters:
tabuSearch - The TabuSearch controlling the transaction
Since:
1.0.1
See Also:
AspirationCriteria, Solution, Move, TabuSearch