public class MinimizeMaxLengthSecondaryObjective extends SecondaryObjective<TestSuiteChromosome>
MinimizeMaxLengthSecondaryObjective class.
logger| Constructor and Description |
|---|
MinimizeMaxLengthSecondaryObjective() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareChromosomes(TestSuiteChromosome chromosome1,
TestSuiteChromosome chromosome2)
Compare two chromosomes with each other with respect to this objective.
|
int |
compareGenerations(TestSuiteChromosome parent1,
TestSuiteChromosome parent2,
TestSuiteChromosome child1,
TestSuiteChromosome child2)
Compare two parents to decide whether the children can replace the
parents.
|
public int compareChromosomes(TestSuiteChromosome chromosome1, TestSuiteChromosome chromosome2)
compareChromosomes in class SecondaryObjective<TestSuiteChromosome>chromosome1 - a Chromosome object.chromosome2 - a Chromosome object.public int compareGenerations(TestSuiteChromosome parent1, TestSuiteChromosome parent2, TestSuiteChromosome child1, TestSuiteChromosome child2)
compareGenerations in class SecondaryObjective<TestSuiteChromosome>parent1 - a Chromosome object.parent2 - a Chromosome object.child1 - a Chromosome object.child2 - a Chromosome object.Copyright © 2010–2017 EvoSuite. All rights reserved.