public class MutationTestPool extends Object implements SearchListener
MutationTestPool class.
| Constructor and Description |
|---|
MutationTestPool() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addTest(Mutation mutation,
TestChromosome test)
Keep a copy of a test that covers a mutant
|
void |
fitnessEvaluation(Chromosome individual)
Called after every single fitness evaluation
|
static int |
getCoveredMutants()
getCoveredMutants
|
static Set<MutationTestFitness> |
getUncoveredFitnessFunctions()
getUncoveredFitnessFunctions
|
static Set<Mutation> |
getUncoveredMutants()
getUncoveredMutants
|
static boolean |
isCovered(Mutation mutation)
isCovered
|
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
|
public static Set<Mutation> getUncoveredMutants()
getUncoveredMutants
Set object.public static boolean isCovered(Mutation mutation)
isCovered
mutation - a Mutation object.public static Set<MutationTestFitness> getUncoveredFitnessFunctions()
getUncoveredFitnessFunctions
Set object.public static int getCoveredMutants()
getCoveredMutants
public static void addTest(Mutation mutation, TestChromosome test)
mutation - a Mutation object.test - a TestChromosome object.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.