Class StoppingConditionByNumberOfGenerations
java.lang.Object
se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.randomized.StoppingConditionByNumberOfGenerations
- All Implemented Interfaces:
StoppingConditionForIterativeImprovement
public class StoppingConditionByNumberOfGenerations
extends Object
implements StoppingConditionForIterativeImprovement
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
generationThreshold
protected final int generationThreshold
-
-
Constructor Details
-
StoppingConditionByNumberOfGenerations
public StoppingConditionByNumberOfGenerations(int generationThreshold)
-
-
Method Details
-
readyToStop
public boolean readyToStop(int currentGeneration) - Specified by:
readyToStop
in interfaceStoppingConditionForIterativeImprovement
-