public class MaxTestsStoppingCondition extends StoppingConditionImpl
MaxTestsStoppingCondition class.
| Modifier and Type | Field and Description |
|---|---|
protected long |
maxTests
Maximum number of evaluations
|
protected static long |
numTests
Current number of tests
|
| Constructor and Description |
|---|
MaxTestsStoppingCondition() |
| Modifier and Type | Method and Description |
|---|---|
void |
forceCurrentValue(long value)
Force a specific amount of used up budget.
|
long |
getCurrentValue()
How much of the budget have we used up
|
long |
getLimit()
Get upper limit of resources
Mainly used for toString()
|
static long |
getNumExecutedTests()
getNumExecutedTests
|
boolean |
isFinished()
isFinished
|
void |
reset()
Reset everything
|
void |
setLimit(long limit)
Set new upper limit of resources
|
static void |
testExecuted()
testExecuted
|
fitnessEvaluation, getType, getValueString, iteration, modification, searchFinished, searchStarted, toStringprotected static long numTests
protected long maxTests
public static long getNumExecutedTests()
getNumExecutedTests
public static void testExecuted()
testExecuted
public void reset()
public boolean isFinished()
isFinished
public long getCurrentValue()
public void setLimit(long limit)
limit - a long.public long getLimit()
public void forceCurrentValue(long value)
value - The new amount of used up budget for this StoppingConditionCopyright © 2010–2017 EvoSuite. All rights reserved.