| Modifier and Type | Class and Description |
|---|---|
class |
AmbiguityCoverageSuiteFitness |
| Modifier and Type | Method and Description |
|---|---|
void |
TestsArchive.addGoalToCover(FitnessFunction<?> ff,
TestFitnessFunction goal) |
void |
TestsArchive.putTest(FitnessFunction<?> ff,
TestFitnessFunction goal,
ExecutionResult result) |
| Modifier and Type | Class and Description |
|---|---|
class |
BranchCoverageSuiteFitness
Fitness function for a whole test suite for all branches
|
class |
BranchCoverageTestFitness
Fitness function for a single test on a single branch
|
class |
OnlyBranchCoverageSuiteFitness
Fitness function for a whole test suite for all branches
|
class |
OnlyBranchCoverageTestFitness
Fitness function for a single test on a single branch
|
| Modifier and Type | Class and Description |
|---|---|
class |
CBranchSuiteFitness
Context Branch criterion, force the generation of test cases that directly
invoke the method where the branch is, i.e., do not consider covered a branch
if it is covered by invoking other methods.
|
class |
CBranchTestFitness |
| Modifier and Type | Class and Description |
|---|---|
class |
AllDefsCoverageSuiteFitness
Evaluate fitness of a test suite with respect to all of its def-use pairs
|
class |
AllDefsCoverageTestFitness
Evaluate fitness of a single test case with respect to one Definition-Use
pair
For more information look at the comment from method getDistance()
|
class |
DefUseCoverageSuiteFitness
Evaluate fitness of a test suite with respect to all of its def-use pairs
First simple and naive idea: Just take each DUGoal, calculate the minimal
fitness over all results in the suite once a goal is covered don't check for
it again in the end sum up all those fitness and that is s the resulting
suite-fitness
|
class |
DefUseCoverageTestFitness
Evaluate fitness of a single test case with respect to one Definition-Use
pair
For more information look at the comment from method getDistance()
|
| Modifier and Type | Class and Description |
|---|---|
class |
ExceptionCoverageSuiteFitness
Exception fitness is different from the others, as we do not know a priori how
many exceptions could be thrown in the SUT.
|
class |
ExceptionCoverageTestFitness
Fitness function for a single test on a single exception
|
class |
TryCatchCoverageSuiteFitness
Created by gordon on 03/04/2016.
|
class |
TryCatchCoverageTestFitness
Created by gordon on 03/04/2016.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IBranchSuiteFitness
We don't remember what the I of IBranch stands for.
|
class |
IBranchTestFitness
IBranch test fitness function.
|
| Modifier and Type | Class and Description |
|---|---|
class |
InputCoverageSuiteFitness |
class |
InputCoverageTestFitness |
| Modifier and Type | Class and Description |
|---|---|
class |
OutputCoverageSuiteFitness |
class |
OutputCoverageTestFitness |
| Modifier and Type | Class and Description |
|---|---|
class |
LineCoverageSuiteFitness
Fitness function for a whole test suite for all branches
|
class |
LineCoverageTestFitness
Fitness function for a single test on a single branch
|
class |
OnlyLineCoverageSuiteFitness |
| Modifier and Type | Class and Description |
|---|---|
class |
MethodCoverageSuiteFitness
Fitness function for a whole test suite for all methods considering only normal behaviour (no exceptions)
|
class |
MethodCoverageTestFitness
Fitness function for a single test on a single method (no exception)
|
class |
MethodNoExceptionCoverageSuiteFitness
Fitness function for a whole test suite for all methods considering only normal behaviour (no exceptions)
|
class |
MethodNoExceptionCoverageTestFitness
Fitness function for a single test on a single method (no exception)
|
class |
MethodTraceCoverageSuiteFitness
Fitness function for a whole test suite for all methods.
|
class |
MethodTraceCoverageTestFitness
Fitness function for a single test on a single method.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MutationSuiteFitness
Abstract MutationSuiteFitness class.
|
class |
MutationTestFitness
Abstract MutationTestFitness class.
|
class |
OnlyMutationSuiteFitness
OnlyMutationSuiteFitness class.
|
class |
OnlyMutationTestFitness |
class |
StrongMutationSuiteFitness
StrongMutationSuiteFitness class.
|
class |
StrongMutationTestFitness
StrongMutationTestFitness class.
|
class |
WeakMutationSuiteFitness
WeakMutationSuiteFitness class.
|
class |
WeakMutationTestFitness
WeakMutationTestFitness class.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ReadabilitySuiteFitness |
| Modifier and Type | Class and Description |
|---|---|
class |
RhoCoverageSuiteFitness |
class |
RhoCoverageTestFitness |
| Modifier and Type | Class and Description |
|---|---|
class |
StatementCoverageSuiteFitness |
class |
StatementCoverageTestFitness |
| Modifier and Type | Method and Description |
|---|---|
Map<FitnessFunction<?>,Double> |
Chromosome.getCoverageValues() |
Map<FitnessFunction<?>,Double> |
Chromosome.getFitnessValues() |
LinkedHashMap<FitnessFunction<?>,Integer> |
Chromosome.getNumsNotCoveredGoals() |
Map<FitnessFunction<?>,Integer> |
Chromosome.getNumsOfCoveredGoals() |
Map<FitnessFunction<?>,Double> |
Chromosome.getPreviousFitnessValues() |
| Modifier and Type | Method and Description |
|---|---|
void |
Chromosome.addFitness(FitnessFunction<?> ff)
Adds a fitness function and sets fitness, coverage, and numCoveredGoal
default.
|
void |
Chromosome.addFitness(FitnessFunction<?> ff,
double fitnessValue)
Adds a fitness function with an associated fitness value
|
void |
Chromosome.addFitness(FitnessFunction<?> ff,
double fitnessValue,
double coverage)
Adds a fitness function with an associated fitness value and coverage
value
|
void |
Chromosome.addFitness(FitnessFunction<?> ff,
double fitnessValue,
double coverage,
int numCoveredGoals)
Adds a fitness function with an associated fitness value, coverage value,
and number of covered goals.
|
double |
Chromosome.getCoverage(FitnessFunction<?> ff)
Gets the coverage value for a given fitness function
|
<T extends Chromosome> |
Chromosome.getFitness(FitnessFunction<T> ff) |
int |
Chromosome.getNumOfCoveredGoals(FitnessFunction<?> ff)
Gets the number of covered goals for a given fitness function
|
int |
Chromosome.getNumOfNotCoveredGoals(FitnessFunction<?> ff)
Gets the number of not covered goals for a given fitness function
|
boolean |
Chromosome.hasExecutedFitness(FitnessFunction<?> ff) |
void |
Chromosome.setCoverage(FitnessFunction<?> ff,
double coverage)
Sets the coverage value for a given fitness function
|
void |
Chromosome.setFitness(FitnessFunction<?> ff,
double value)
Set new fitness value
|
void |
Chromosome.setNumOfCoveredGoals(FitnessFunction<?> ff,
int numCoveredGoals)
Sets the number of covered goals for a given fitness function
|
void |
Chromosome.setNumOfNotCoveredGoals(FitnessFunction<?> ff,
int numCoveredGoals) |
protected void |
FitnessFunction.updateIndividual(FitnessFunction<?> ff,
T individual,
double fitness)
Make sure that the individual gets to know about its fitness
|
protected void |
FitnessFunction.updateIndividual(FitnessFunction<?> ff,
T individual,
double fitness,
int toCoverTargets) |
| Modifier and Type | Method and Description |
|---|---|
void |
Chromosome.setCoverageValues(Map<FitnessFunction<?>,Double> coverages) |
void |
Chromosome.setFitnessValues(Map<FitnessFunction<?>,Double> fits) |
void |
Chromosome.setNumsOfCoveredGoals(Map<FitnessFunction<?>,Integer> fits) |
void |
Chromosome.setNumsOfNotCoveredGoals(Map<FitnessFunction<?>,Integer> fits) |
void |
Chromosome.setPreviousFitnessValues(Map<FitnessFunction<?>,Double> lastFits) |
| Constructor and Description |
|---|
TournamentChromosomeFactory(FitnessFunction<T> fitness,
ChromosomeFactory<T> factory)
Constructor for TournamentChromosomeFactory.
|
| Constructor and Description |
|---|
SortByFitness(FitnessFunction<?> ff,
boolean desc) |
| 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 |
LocalSearchObjective.addFitnessFunction(FitnessFunction<? extends Chromosome> fitness) |
void |
DefaultLocalSearchObjective.addFitnessFunction(FitnessFunction<? extends Chromosome> fitness) |
| Modifier and Type | Field and Description |
|---|---|
protected List<FitnessFunction<T>> |
GeneticAlgorithm.fitnessFunctions
Fitness function to rank individuals
|
| Modifier and Type | Method and Description |
|---|---|
FitnessFunction<T> |
GeneticAlgorithm.getFitnessFunction()
Get currently used fitness function
|
| Modifier and Type | Method and Description |
|---|---|
List<FitnessFunction<T>> |
GeneticAlgorithm.getFitnessFunctions()
Get all used fitness function
|
| Modifier and Type | Method and Description |
|---|---|
void |
GeneticAlgorithm.addFitnessFunction(FitnessFunction<T> function)
Add new fitness function (i.e., for new mutation)
|
| Modifier and Type | Method and Description |
|---|---|
void |
GeneticAlgorithm.addFitnessFunctions(List<FitnessFunction<T>> functions) |
| Modifier and Type | Field and Description |
|---|---|
protected Map<FitnessFunction<T>,T> |
MOSA.archive
Map used to store the covered test goals (keys of the map) and the corresponding covering test cases (values of the map)
|
protected Set<FitnessFunction<T>> |
MOSA.uncoveredGoals
Boolean vector to indicate whether each test goal is covered or not.
|
| Modifier and Type | Method and Description |
|---|---|
Set<FitnessFunction<T>> |
MOSA.getCoveredGoals()
This method return the test goals covered by the test cases stored in the current archive
|
abstract Set<FitnessFunction<T>> |
AbstractMOSA.getCoveredGoals() |
Map<FitnessFunction<T>,T> |
FastNonDominatedSorting.getNewCoveredGoals() |
| Modifier and Type | Method and Description |
|---|---|
void |
Ranking.computeRankingAssignment(List<T> solutions,
Set<FitnessFunction<T>> uncovered_goals) |
void |
RankBasedPreferenceSorting.computeRankingAssignment(List<T> solutions,
Set<FitnessFunction<T>> uncovered_goals) |
void |
FastNonDominatedSorting.computeRankingAssignment(List<T> solutions,
Set<FitnessFunction<T>> uncovered_goals) |
protected void |
CrowdingDistance.crowdingDistanceAssignment(List<T> front,
Set<FitnessFunction<T>> set)
Method used to assign the 'traditional' Crowding Distance
|
void |
CrowdingDistance.fastEpsilonDominanceAssignment(List<T> front,
Set<FitnessFunction<T>> set)
This method implements a "fast" version of the variant of the crowding distance named "epsilon-dominance-assignment"
proposed by K\"{o}ppen and Yoshida in :
[1] Mario K\"{o}ppen and Kaori Yoshida, "Substitute Distance Assignments in NSGA-II for handling Many-objective
Optimization Problems", Evolutionary Multi-Criterion Optimization, Volume 4403 of the series Lecture Notes
in Computer Science pp 727-741.
|
void |
CrowdingDistance.subvectorDominanceAssignment(List<T> front,
Set<FitnessFunction<T>> set)
This method implements a variant of the crowding distance named "subvector-dominance-assignment"
proposed by K\"{o}ppen and Yoshida in :
[1] Mario K\"{o}ppen and Kaori Yoshida, "Substitute Distance Assignments in NSGA-II for handling Many-objective
Optimization Problems", Evolutionary Multi-Criterion Optimization, Volume 4403 of the series Lecture Notes
in Computer Science pp 727-741.
|
| Constructor and Description |
|---|
PreferenceSortingComparator(FitnessFunction<T> goals)
Constructor
|
| Constructor and Description |
|---|
MOSADominanceComparator(Set<FitnessFunction<T>> goals)
Constructor
|
| Modifier and Type | Class and Description |
|---|---|
class |
LanguageModelSuiteFitness
Created by mat on 20/03/2014.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RegressionSuiteFitness |
class |
RegressionTestFitnessFunction
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
double |
TestGenerationResult.getTargetCoverage(FitnessFunction<?> function)
Coverage level of the target criterion
|
| Modifier and Type | Class and Description |
|---|---|
class |
TestFitnessFunction
Abstract base class for fitness functions for test case chromosomes
|
| Modifier and Type | Class and Description |
|---|---|
class |
TestSuiteFitnessFunction
Abstract TestSuiteFitnessFunction class.
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
Copyright © 2010–2017 EvoSuite. All rights reserved.