public class RegressionTestFitnessFunction extends FitnessFunction<RegressionTestChromosome>
logger| Constructor and Description |
|---|
RegressionTestFitnessFunction()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getFitness(RegressionTestChromosome regressionTest)
Deprecated.
Calculate and set fitness function #TODO the 'set fitness' part should be
done by some abstract super class of all FitnessFunctions
|
boolean |
isMaximizationFunction()
Deprecated.
Do we need to maximize, or minimize this function?
|
ExecutionResult |
runTest(TestChromosome testChromosome)
Deprecated.
Execute a test case
|
getBestStoredIndividual, normalize, updateCoveredGoals, updateIndividual, updateIndividualpublic double getFitness(RegressionTestChromosome regressionTest)
FitnessFunctiongetFitness in class FitnessFunction<RegressionTestChromosome>regressionTest - a Chromosome object.public ExecutionResult runTest(TestChromosome testChromosome)
testChromosome - The test case to executepublic boolean isMaximizationFunction()
FitnessFunctionisMaximizationFunction in class FitnessFunction<RegressionTestChromosome>Copyright © 2010–2017 EvoSuite. All rights reserved.