public abstract class StatementLocalSearch extends Object
| Constructor and Description |
|---|
StatementLocalSearch() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
backup(TestChromosome test) |
abstract boolean |
doSearch(TestChromosome test,
int statement,
LocalSearchObjective<TestChromosome> objective)
doSearch
|
boolean |
doSearch(TestChromosome test,
Set<Integer> statements,
LocalSearchObjective<TestChromosome> objective) |
static StatementLocalSearch |
getLocalSearchFor(Statement statement) |
int |
getPositionDelta()
If the position of the statement on which the local search was performed
has changed, then we need to tell this to the outside world
|
protected void |
restore(TestChromosome test) |
protected void backup(TestChromosome test)
protected void restore(TestChromosome test)
public abstract boolean doSearch(TestChromosome test, int statement, LocalSearchObjective<TestChromosome> objective)
doSearch
test - a TestChromosome object.statement - a int.objective - a LocalSearchObjective object.public boolean doSearch(TestChromosome test, Set<Integer> statements, LocalSearchObjective<TestChromosome> objective)
public int getPositionDelta()
public static StatementLocalSearch getLocalSearchFor(Statement statement)
Copyright © 2010–2017 EvoSuite. All rights reserved.