Constructor | Description |
---|---|
DFSAlgorithm(ScheduleGrph input,
CostFunction cost,
int numProcessors) |
Sets up the DFS algorithm without visualization
|
DFSAlgorithm(ScheduleGrph input,
CostFunction cost,
int numProcessors,
ScheduleListener listen) |
Sets up the DFS alg with visualization
|
Modifier and Type | Method | Description |
---|---|---|
PartialScheduleGrph |
runAlg() |
Entry point for the algoritm - initializes state space and starts
recursion
|
public DFSAlgorithm(ScheduleGrph input, CostFunction cost, int numProcessors, ScheduleListener listen)
input
- The input graph to run the algorithm oncost
- The costfunction to use for this algorithmnumProcessors
- The number of available processors to schedule tasks onlisten
- The ScheduleListener to register with this objectpublic DFSAlgorithm(ScheduleGrph input, CostFunction cost, int numProcessors)
input
- The input graph to run the algorithm oncost
- The costfunction to use for this algorithmnumProcessors
- The number of available processors to schedule tasks onpublic PartialScheduleGrph runAlg()