basics.algo
Class IterationWithoutImprovementBreaker

java.lang.Object
  extended by basics.algo.IterationWithoutImprovementBreaker
All Implemented Interfaces:
PrematureAlgorithmBreaker

public class IterationWithoutImprovementBreaker
extends java.lang.Object
implements PrematureAlgorithmBreaker


Constructor Summary
IterationWithoutImprovementBreaker(int nuOfIterationsWithoutImprovement)
           
 
Method Summary
 boolean isPrematureBreak(SearchStrategy.DiscoveredSolution discoveredSolution)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IterationWithoutImprovementBreaker

public IterationWithoutImprovementBreaker(int nuOfIterationsWithoutImprovement)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isPrematureBreak

public boolean isPrematureBreak(SearchStrategy.DiscoveredSolution discoveredSolution)
Specified by:
isPrematureBreak in interface PrematureAlgorithmBreaker