Interface PrematureAlgorithmTermination
- All Known Implementing Classes:
IterationWithoutImprovementTermination,TimeTermination,VariationCoefficientTermination
public interface PrematureAlgorithmTermination
Basic interface for prematureTermination.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisPrematureBreak(SearchStrategy.DiscoveredSolution discoveredSolution) Returns true if algorithm should terminate, false otherwise.
-
Method Details
-
isPrematureBreak
Returns true if algorithm should terminate, false otherwise.- Parameters:
discoveredSolution- the discovered solution- Returns:
- true if algorithm should terminate, false otherwise
-