public abstract class OneTimeSchedule extends ScheduleType
scheduler| Constructor and Description |
|---|
OneTimeSchedule(JobScheduler scheduler) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExecuteMore()
When we get a schedule, the scheduler might decide to do not use the entire
budget.
|
List<JobDefinition> |
createNewSchedule()
Create a new partial/complete schedule if there is still search budget left
|
protected abstract List<JobDefinition> |
createScheduleOnce() |
protected void |
distributeExtraBudgetEvenly(List<JobDefinition> jobs,
int totalLeftOver,
int maximumBudgetPerCore) |
createScheduleForWhenNotEnoughBudget, enoughBudgetForAllpublic OneTimeSchedule(JobScheduler scheduler)
public final boolean canExecuteMore()
ScheduleTypeWhen we get a schedule, the scheduler might decide to do not use the entire budget. Reason? It might decide to generate some test cases first, and then use those as seeding for a new round of execution.
Once the budget is finished, this schedule cannot be reused. A new instance needs to be created.
canExecuteMore in class ScheduleTypepublic final List<JobDefinition> createNewSchedule()
ScheduleTypecreateNewSchedule in class ScheduleTypeprotected abstract List<JobDefinition> createScheduleOnce()
protected void distributeExtraBudgetEvenly(List<JobDefinition> jobs, int totalLeftOver, int maximumBudgetPerCore)
Copyright © 2010–2016 EvoSuite. All rights reserved.