| Modifier and Type | Method and Description |
|---|---|
void |
ProgressMonitor.fitnessEvaluation(Chromosome individual)
Called after every single fitness evaluation
|
void |
ProgressMonitor.modification(Chromosome individual)
Called before a chromosome is mutated
|
| Modifier and Type | Method and Description |
|---|---|
void |
FitnessLogger.fitnessEvaluation(Chromosome individual)
Called after every single fitness evaluation
|
void |
FitnessLogger.modification(Chromosome individual)
Called before a chromosome is mutated
|
| Modifier and Type | Method and Description |
|---|---|
double |
DefUseCoverageSuiteFitness.getFitnessOld(Chromosome individual) |
static boolean |
DefUseFitnessCalculator.traceCoversGoal(DefUseCoverageTestFitness goal,
Chromosome individual,
ExecutionTrace trace)
Only a sanity check function for testing purposes
|
| Modifier and Type | Method and Description |
|---|---|
void |
MutationTestPool.fitnessEvaluation(Chromosome individual)
Called after every single fitness evaluation
|
void |
MutationTestPool.modification(Chromosome individual)
Called before a chromosome is mutated
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Archive<T extends Chromosome> |
interface |
ChromosomeFactory<T extends Chromosome>
Factory for chromosomes used by the GA
|
class |
FitnessFunction<T extends Chromosome>
Abstract base class of fitness functions
|
class |
MinimizeSizeSecondaryObjective<T extends Chromosome>
MinimizeSizeSecondaryObjective class.
|
class |
SecondaryObjective<T extends Chromosome>
Abstract SecondaryObjective class.
|
class |
TournamentChromosomeFactory<T extends Chromosome>
TournamentChromosomeFactory class.
|
| Modifier and Type | Method and Description |
|---|---|
abstract <T extends Chromosome> |
Chromosome.compareSecondaryObjective(T o)
Secondary Objectives are specific to chromosome types
|
<T extends Chromosome> |
Chromosome.getFitness(FitnessFunction<T> ff) |
| Modifier and Type | Method and Description |
|---|---|
abstract Chromosome |
Chromosome.clone()
clone
|
protected Chromosome |
ReplacementFunction.getBest(Chromosome chromosome1,
Chromosome chromosome2)
getBest
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
ReplacementFunction.compareBestOffspringToBestParent(Chromosome parent1,
Chromosome parent2,
Chromosome offspring1,
Chromosome offspring2)
Check how the best offspring compares with best parent
|
int |
MinimizeSizeSecondaryObjective.compareChromosomes(Chromosome chromosome1,
Chromosome chromosome2)
Compare two chromosomes with each other with respect to this objective.
|
int |
MinimizeSizeSecondaryObjective.compareGenerations(Chromosome parent1,
Chromosome parent2,
Chromosome child1,
Chromosome child2)
Compare two parents to decide whether the children can replace the
parents.
|
int |
Chromosome.compareTo(Chromosome c)
Determine relative ordering of this chromosome to another chromosome.
|
void |
Chromosome.crossOver(Chromosome other,
int position)
Fixed single point cross over
|
abstract void |
Chromosome.crossOver(Chromosome other,
int position1,
int position2)
Single point cross over
|
protected Chromosome |
ReplacementFunction.getBest(Chromosome chromosome1,
Chromosome chromosome2)
getBest
|
protected boolean |
ReplacementFunction.isBetter(Chromosome chromosome1,
Chromosome chromosome2)
isBetter
|
protected boolean |
ReplacementFunction.isBetterOrEqual(Chromosome chromosome1,
Chromosome chromosome2)
isBetterOrEqual
|
boolean |
ReplacementFunction.keepOffspring(Chromosome parent,
Chromosome offspring)
Deprecated.
should not be used, as it does not handle
Properties.CHECK_PARENTS_LENGTH
|
boolean |
ReplacementFunction.keepOffspring(Chromosome parent1,
Chromosome parent2,
Chromosome offspring1,
Chromosome offspring2)
Decide whether to keep the offspring or the parents
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
Chromosome.localSearch(LocalSearchObjective<? extends Chromosome> objective)
Apply the local search
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
MaxSizeBloatControl.isTooLong(Chromosome chromosome)
isTooLong
|
boolean |
BloatControlFunction.isTooLong(Chromosome chromosome)
isTooLong
|
| Modifier and Type | Method and Description |
|---|---|
int |
StrengthFitnessComparator.compare(Chromosome c1,
Chromosome c2) |
int |
SortByFitness.compare(Chromosome c1,
Chromosome c2) |
int |
DominanceComparator.compare(Chromosome c1,
Chromosome c2)
Is c2 dominated by c1?
http://en.wikipedia.org/wiki/Multi-objective_optimization#Introduction
|
int |
CrowdingComparator.compare(Chromosome c1,
Chromosome c2) |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultLocalSearchObjective<T extends Chromosome>
The Default local search objective only stores a list of fitness functions.
|
interface |
LocalSearch<T extends Chromosome>
This class applies local search on an specific Chromosome.
|
interface |
LocalSearchObjective<T extends Chromosome>
Represents a local search objective that will be used during local search to
assess the success (or failure) of a local search to a given chromosome
(it could be TestSuiteChromosome or TestChromosome).
|
| Modifier and Type | Method and Description |
|---|---|
List<FitnessFunction<? extends Chromosome>> |
LocalSearchObjective.getFitnessFunctions()
Returns a list with all the fitness functions stored in this local search
objective
|
List<FitnessFunction<? extends Chromosome>> |
DefaultLocalSearchObjective.getFitnessFunctions()
Returns a list with all the fitness functions stored in this local search
objective
|
| Modifier and Type | Method and Description |
|---|---|
void |
LocalSearchBudget.fitnessEvaluation(Chromosome individual)
Called after every single fitness evaluation
|
void |
LocalSearchBudget.modification(Chromosome individual)
Called before a chromosome is mutated
|
| Modifier and Type | Method and Description |
|---|---|
void |
LocalSearchObjective.addFitnessFunction(FitnessFunction<? extends Chromosome> fitness) |
void |
DefaultLocalSearchObjective.addFitnessFunction(FitnessFunction<? extends Chromosome> fitness) |
| Modifier and Type | Class and Description |
|---|---|
class |
GeneticAlgorithm<T extends Chromosome>
Abstract superclass of genetic algorithms
|
class |
MonotonicGA<T extends Chromosome>
Implementation of steady state GA
|
class |
NSGAII<T extends Chromosome>
NSGA-II implementation
|
class |
OnePlusOneEA<T extends Chromosome>
(1+1)EA
|
class |
RandomSearch<T extends Chromosome>
RandomSearch class.
|
class |
SPEA2<T extends Chromosome>
SPEA2 implementation.
|
class |
StandardGA<T extends Chromosome>
Standard GA implementation
|
class |
SteadyStateGA<T extends Chromosome>
Alternative version of steady state GA
|
| Modifier and Type | Method and Description |
|---|---|
protected List<Chromosome> |
GeneticAlgorithm.randomism()
Create random individuals
|
| Modifier and Type | Method and Description |
|---|---|
void |
SearchListener.fitnessEvaluation(Chromosome individual)
Called after every single fitness evaluation
|
protected boolean |
GeneticAlgorithm.isBetterOrEqual(Chromosome chromosome1,
Chromosome chromosome2)
Returns true if the
chromosome1 is better or equal than
chromosome2 according to the compound fitness function. |
boolean |
GeneticAlgorithm.isTooLong(Chromosome chromosome)
Check whether individual is suitable according to bloat control functions
|
protected boolean |
MonotonicGA.keepOffspring(Chromosome parent1,
Chromosome parent2,
Chromosome offspring1,
Chromosome offspring2)
keepOffspring
|
void |
SearchListener.modification(Chromosome individual)
Called before a chromosome is mutated
|
protected void |
GeneticAlgorithm.notifyEvaluation(Chromosome chromosome)
Notify all search listeners of fitness evaluation
|
protected void |
GeneticAlgorithm.notifyMutation(Chromosome chromosome)
Notify all search listeners of a mutation
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMOSA<T extends Chromosome>
Abstract class for MOSA
|
class |
CrowdingDistance<T extends Chromosome>
This class implements different variants of Crowding Distance for many-objective problems
|
class |
FastNonDominatedSorting<T extends Chromosome>
This class ranks the test cases according to the
the "PreferenceCriterion" defined for the MOSA algorithm
|
class |
MOSA<T extends Chromosome>
Implementation of the MOSA (Many-Objective Sorting Algorithm) described in the ICST'15 paper ...
|
class |
MOSATournamentSelection<T extends Chromosome>
Select an individual from a population as winner of a number of tournaments according
to the "non-dominance" relationship and the crowding distance
|
class |
RankBasedPreferenceSorting<T extends Chromosome>
This class ranks the test cases according to the
the "PreferenceCriterion" defined for the MOSA algorithm
|
interface |
Ranking<T extends Chromosome>
Interface for ranking algorithms
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractMOSA.notifyEvaluation(Chromosome chromosome)
Notify all search listeners of fitness evaluation
|
| Modifier and Type | Class and Description |
|---|---|
class |
MOSADominanceComparator<T extends Chromosome>
This class implements a
Comparator (a method for comparing Chromosomes objects)
based on the dominance test and considering the specified test goals only. |
class |
PreferenceSortingComparator<T extends Chromosome>
This class implements a
Comparator (a method for comparing Chromosomes objects)
based on the dominance test and considering the specified test goals only. |
class |
RankAndCrowdingDistanceComparator<T extends Chromosome>
This class implements a
Comparator (a method for comparing Chromosomes
objects) based on the dominance test, as in NSGA-II. |
class |
TestSizeComparator<T extends Chromosome>
Sort a Collection of Chromosomes by Test Size
|
| Modifier and Type | Method and Description |
|---|---|
int |
OnlyCrowdingComparator.compare(Chromosome c1,
Chromosome c2) |
| Modifier and Type | Method and Description |
|---|---|
void |
SinglePointRelativeCrossOver.crossOver(Chromosome parent1,
Chromosome parent2)
Replace parents with crossed over individuals
|
void |
SinglePointFixedCrossOver.crossOver(Chromosome parent1,
Chromosome parent2)
Replace parents with crossed over individuals
|
void |
SinglePointCrossOver.crossOver(Chromosome parent1,
Chromosome parent2)
Replace parents with crossed over individuals
|
abstract void |
CrossOverFunction.crossOver(Chromosome parent1,
Chromosome parent2)
Replace parents with crossed over individuals
|
void |
CoverageCrossOver.crossOver(Chromosome parent1,
Chromosome parent2)
Replace parents with crossed over individuals
|
| Modifier and Type | Class and Description |
|---|---|
class |
BinaryTournamentSelectionCrowdedComparison<T extends Chromosome>
Select an individual from a population using a Crowd Comparison Operator
|
class |
FitnessProportionateSelection<T extends Chromosome>
Roulette wheel selection
|
class |
RankSelection<T extends Chromosome>
Abstract base class of selection functions
|
class |
SelectionFunction<T extends Chromosome>
Abstract base class of selection functions
|
class |
TournamentSelection<T extends Chromosome>
Select an individual from a population as winner of a number of tournaments
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
SizePopulationLimit.isPopulationFull(List<? extends Chromosome> population)
isPopulationFull
|
boolean |
PopulationLimit.isPopulationFull(List<? extends Chromosome> population)
isPopulationFull
|
boolean |
IndividualPopulationLimit.isPopulationFull(List<? extends Chromosome> population)
isPopulationFull
|
| Modifier and Type | Method and Description |
|---|---|
void |
StoppingConditionImpl.fitnessEvaluation(Chromosome chromosome)
Called after every single fitness evaluation
|
void |
SocketStoppingCondition.fitnessEvaluation(Chromosome individual)
Called after every single fitness evaluation
|
void |
RMIStoppingCondition.fitnessEvaluation(Chromosome individual) |
void |
MaxFitnessEvaluationsStoppingCondition.fitnessEvaluation(Chromosome individual)
Called after every single fitness evaluation
|
void |
StoppingConditionImpl.modification(Chromosome individual)
Called before a chromosome is mutated
|
void |
SocketStoppingCondition.modification(Chromosome individual)
Called before a chromosome is mutated
|
void |
RMIStoppingCondition.modification(Chromosome individual) |
| Modifier and Type | Class and Description |
|---|---|
class |
RegressionTestChromosome |
class |
RegressionTestSuiteChromosome |
| Modifier and Type | Method and Description |
|---|---|
Chromosome |
RegressionTestChromosome.clone() |
| Modifier and Type | Method and Description |
|---|---|
int |
RegressionTestChromosome.compareSecondaryObjective(Chromosome o) |
void |
RegressionTestChromosome.crossOver(Chromosome other,
int position1,
int position2) |
| Modifier and Type | Method and Description |
|---|---|
void |
MasterNodeRemote.evosuite_collectStatistics(String clientRmiIdentifier,
Chromosome individual) |
void |
DummyClientNodeImpl.updateStatistics(Chromosome individual) |
void |
ClientNodeLocal.updateStatistics(Chromosome individual) |
void |
ClientNodeImpl.updateStatistics(Chromosome individual) |
| Modifier and Type | Method and Description |
|---|---|
void |
TestCaseRecycler.fitnessEvaluation(Chromosome individual) |
void |
TestCaseRecycler.modification(Chromosome individual) |
| Modifier and Type | Method and Description |
|---|---|
void |
StatisticsListener.fitnessEvaluation(Chromosome individual) |
void |
StatisticsListener.modification(Chromosome individual) |
static void |
StatisticsSender.sendIndividualToMaster(Chromosome individual)
Send the given individual to the Client, plus any other needed info
|
| Modifier and Type | Class and Description |
|---|---|
class |
PropertiesSearchAlgorithmFactory<T extends Chromosome>
Factory class for GAs
|
| Modifier and Type | Class and Description |
|---|---|
class |
ExecutableChromosome |
class |
TestChromosome
Chromosome representation of test cases
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Chromosome> |
TestChromosome.compareSecondaryObjective(T o) |
| Modifier and Type | Method and Description |
|---|---|
Chromosome |
TestChromosome.clone()
clone
|
| Modifier and Type | Method and Description |
|---|---|
int |
TestChromosome.compareTo(Chromosome o)
Determine relative ordering of this chromosome to another chromosome.
|
void |
TestChromosome.crossOver(Chromosome other,
int position1,
int position2)
Single point cross over
|
void |
RelativeTestLengthBloatControl.fitnessEvaluation(Chromosome result)
Called after every single fitness evaluation
|
boolean |
RelativeTestLengthBloatControl.isTooLong(Chromosome chromosome)
isTooLong
|
boolean |
TestCaseReplacementFunction.keepOffspring(Chromosome parent1,
Chromosome parent2,
Chromosome offspring1,
Chromosome offspring2)
Decide whether to keep the offspring or the parents
|
void |
RelativeTestLengthBloatControl.modification(Chromosome individual)
Called before a chromosome is mutated
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
TestChromosome.localSearch(LocalSearchObjective<? extends Chromosome> objective)
Apply the local search
|
| Modifier and Type | Method and Description |
|---|---|
void |
BranchCoverageMap.fitnessEvaluation(Chromosome individual) |
void |
BranchCoverageMap.modification(Chromosome individual) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractTestSuiteChromosome<T extends ExecutableChromosome> |
class |
TestSuiteChromosome
TestSuiteChromosome class.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Chromosome> |
TestSuiteChromosome.compareSecondaryObjective(T o)
Secondary Objectives are specific to chromosome types
|
| Modifier and Type | Method and Description |
|---|---|
abstract Chromosome |
AbstractTestSuiteChromosome.clone()
clone
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractTestSuiteChromosome.crossOver(Chromosome other,
int position1,
int position2)
Single point cross over
|
void |
RelativeSuiteLengthBloatControl.fitnessEvaluation(Chromosome result)
Called after every single fitness evaluation
|
boolean |
RelativeSuiteLengthBloatControl.isTooLong(Chromosome chromosome)
isTooLong
|
boolean |
MaxLengthBloatControl.isTooLong(Chromosome chromosome)
isTooLong
|
boolean |
TestSuiteReplacementFunction.keepOffspring(Chromosome parent1,
Chromosome parent2,
Chromosome offspring1,
Chromosome offspring2)
Decide whether to keep the offspring or the parents
|
void |
RelativeSuiteLengthBloatControl.modification(Chromosome individual)
Called before a chromosome is mutated
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
StatementsPopulationLimit.isPopulationFull(List<? extends Chromosome> population)
isPopulationFull
|
boolean |
TestSuiteChromosome.localSearch(LocalSearchObjective<? extends Chromosome> objective) |
abstract boolean |
AbstractTestSuiteChromosome.localSearch(LocalSearchObjective<? extends Chromosome> objective)
Apply the local search
|
| Modifier and Type | Method and Description |
|---|---|
List<FitnessFunction<? extends Chromosome>> |
TestSuiteLocalSearchObjective.getFitnessFunctions()
Since the fitness is computed by the underlying test suite associated to
this local search objective, this function should not belong.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TestSuiteLocalSearchObjective.addFitnessFunction(FitnessFunction<? extends Chromosome> fitness)
Since the fitness is governed by the underlying suite associated to this
goal, this function should never be invoked.
|
static TestSuiteLocalSearchObjective |
TestSuiteLocalSearchObjective.buildNewTestSuiteLocalSearchObjective(List<FitnessFunction<? extends Chromosome>> fitness,
TestSuiteChromosome suite,
int index)
Creates a new
TestSuiteLocalSearchObjective for a given list
of fitness functions, a test suite and a testIndex for
replacing an optimised test case (i.e. |
| Modifier and Type | Method and Description |
|---|---|
void |
DiversityObserver.fitnessEvaluation(Chromosome individual) |
void |
DiversityObserver.modification(Chromosome individual) |
| Modifier and Type | Method and Description |
|---|---|
void |
ResourceController.fitnessEvaluation(Chromosome individual)
Called after every single fitness evaluation
|
void |
ResourceController.modification(Chromosome individual)
Called before a chromosome is mutated
|
Copyright © 2010–2017 EvoSuite. All rights reserved.