public class SeedingSchedule extends OneTimeSchedule
| Modifier and Type | Field and Description |
|---|---|
protected OneTimeSchedule |
base |
scheduler| Modifier | Constructor and Description |
|---|---|
|
SeedingSchedule(JobScheduler scheduler) |
protected |
SeedingSchedule(JobScheduler scheduler,
OneTimeSchedule base) |
| Modifier and Type | Method and Description |
|---|---|
protected List<JobDefinition> |
addDepenciesAndSort(List<JobDefinition> jobs) |
protected List<JobDefinition> |
addDependenciesForSeeding(List<JobDefinition> jobs)
For each input job, identify all the others jobs we want to generate
test cases first.
|
protected List<JobDefinition> |
createScheduleForWhenNotEnoughBudget()
if there is not enough search budget, then try
to target as many CUTs as possible
|
protected List<JobDefinition> |
createScheduleOnce() |
protected static List<JobDefinition> |
getSortedToSatisfyDependencies(List<JobDefinition> jobs)
Try (best effort) to sort the jobs in a way in which dependent jobs
are executed first.
|
canExecuteMore, createNewSchedule, distributeExtraBudgetEvenlyenoughBudgetForAllprotected final OneTimeSchedule base
public SeedingSchedule(JobScheduler scheduler)
protected SeedingSchedule(JobScheduler scheduler, OneTimeSchedule base)
protected List<JobDefinition> createScheduleOnce()
createScheduleOnce in class OneTimeScheduleprotected List<JobDefinition> createScheduleForWhenNotEnoughBudget()
ScheduleTypecreateScheduleForWhenNotEnoughBudget in class ScheduleTypeprotected List<JobDefinition> addDepenciesAndSort(List<JobDefinition> jobs)
protected static List<JobDefinition> getSortedToSatisfyDependencies(List<JobDefinition> jobs)
jobs - A sorted copy of the input listprotected List<JobDefinition> addDependenciesForSeeding(List<JobDefinition> jobs)
There can be different strategies to define a dependency: - ancestor, non-interface classes - classes used as input objects - subtypes of classes used as input objects
jobs - Copyright © 2010–2016 EvoSuite. All rights reserved.