public class ProgressMonitor extends Object implements SearchListener, Serializable
ProgressMonitor class.
| Modifier and Type | Field and Description |
|---|---|
protected int |
iteration |
protected int |
lastCoverage |
protected int |
lastProgress |
protected ClientState |
state |
| Constructor and Description |
|---|
ProgressMonitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
fitnessEvaluation(Chromosome individual)
Called after every single fitness evaluation
|
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
|
void |
updateStatus(int percent)
updateStatus
|
protected int lastCoverage
protected int lastProgress
protected int iteration
protected ClientState state
public void updateStatus(int percent)
updateStatus
percent - a int.public void searchStarted(GeneticAlgorithm<?> algorithm)
searchStarted in interface SearchListeneralgorithm - a GeneticAlgorithm 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 fitnessEvaluation(Chromosome individual)
fitnessEvaluation in interface SearchListenerindividual - a Chromosome object.public void modification(Chromosome individual)
modification in interface SearchListenerindividual - a Chromosome object.Copyright © 2010–2017 EvoSuite. All rights reserved.