public class OnlyMutationSuiteFitness extends MutationSuiteFitness
OnlyMutationSuiteFitness class.
| Modifier and Type | Field and Description |
|---|---|
Map<Integer,MutationTestFitness> |
mutantMap |
Set<Integer> |
mutants |
Set<Integer> |
removedMutants |
Set<Integer> |
toRemoveMutants |
branchFitness, mutationGoalslogger| Constructor and Description |
|---|
OnlyMutationSuiteFitness() |
| Modifier and Type | Method and Description |
|---|---|
double |
getFitness(AbstractTestSuiteChromosome<? extends ExecutableChromosome> individual)
Calculate and set fitness function #TODO the 'set fitness' part should be
done by some abstract super class of all FitnessFunctions
|
boolean |
updateCoveredGoals()
if the fitness function contains an archive, updates the archive and the fitness values of the population, and returns true.
|
getNumMutants, runTest, runTestisMaximizationFunction, runTestSuitegetBestStoredIndividual, normalize, updateIndividual, updateIndividualpublic final Map<Integer,MutationTestFitness> mutantMap
public boolean updateCoveredGoals()
FitnessFunctionupdateCoveredGoals in class MutationSuiteFitnesspublic double getFitness(AbstractTestSuiteChromosome<? extends ExecutableChromosome> individual)
getFitness in class MutationSuiteFitnessindividual - a Chromosome object.Copyright © 2010–2017 EvoSuite. All rights reserved.