public abstract class StoppingConditionImpl extends Object implements StoppingCondition, Serializable
| Constructor and Description |
|---|
StoppingConditionImpl()
Constructor for StoppingConditionImpl.
|
| Modifier and Type | Method and Description |
|---|---|
void |
fitnessEvaluation(Chromosome chromosome)
Called after every single fitness evaluation
|
String |
getType()
getType
|
String |
getValueString()
getValueString
|
void |
iteration(GeneticAlgorithm<?> algorithm)
Called after each iteration of the search
|
void |
modification(Chromosome individual)
Called before a chromosome is mutated
|
void |
searchFinished(GeneticAlgorithm<?> algorithm)
Called after the last iteration
|
void |
searchStarted(GeneticAlgorithm<?> algorithm)
Called when a new search is started
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforceCurrentValue, getCurrentValue, getLimit, isFinished, reset, setLimitpublic StoppingConditionImpl()
Constructor for StoppingConditionImpl.
public void searchStarted(GeneticAlgorithm<?> algorithm)
searchStarted in interface SearchListeneralgorithm - a GeneticAlgorithm object.public void fitnessEvaluation(Chromosome chromosome)
fitnessEvaluation in interface SearchListenerchromosome - a Chromosome object.public void iteration(GeneticAlgorithm<?> algorithm)
iteration in interface SearchListeneralgorithm - a GeneticAlgorithm object.public void searchFinished(GeneticAlgorithm<?> algorithm)
searchFinished in interface SearchListeneralgorithm - a GeneticAlgorithm object.public void modification(Chromosome individual)
modification in interface SearchListenerindividual - a Chromosome object.Copyright © 2010–2017 EvoSuite. All rights reserved.