public class CBranchSuiteFitness extends TestSuiteFitnessFunction
logger| Constructor and Description |
|---|
CBranchSuiteFitness() |
| Modifier and Type | Method and Description |
|---|---|
double |
getFitness(AbstractTestSuiteChromosome<? extends ExecutableChromosome> suite)
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.
|
isMaximizationFunction, runTest, runTestSuitegetBestStoredIndividual, normalize, updateIndividual, updateIndividualpublic double getFitness(AbstractTestSuiteChromosome<? extends ExecutableChromosome> suite)
FitnessFunctiongetFitness in class FitnessFunction<AbstractTestSuiteChromosome<? extends ExecutableChromosome>>suite - a Chromosome object.public boolean updateCoveredGoals()
FitnessFunctionupdateCoveredGoals in class FitnessFunction<AbstractTestSuiteChromosome<? extends ExecutableChromosome>>Copyright © 2010–2017 EvoSuite. All rights reserved.