Constructor | Description |
---|---|
DFSParallel(ScheduleGrph input,
CostFunction cost,
int numProcessors,
int numCores) |
Sets up the DFS algorithm without visualization
|
DFSParallel(ScheduleGrph input,
CostFunction cost,
int numProcessors,
int numCores,
ScheduleListener listen) |
Sets up the DFS alg with visualization
|
Modifier and Type | Method | Description |
---|---|---|
PartialScheduleGrph |
runAlg() |
This function is used to run any algorithm.
|
public DFSParallel(ScheduleGrph input, CostFunction cost, int numProcessors, int numCores)
input
- The input graph to run the algorithm oncost
- The costfunction to use for this algorithmnumProcessors
- The number of available processors to schedule tasks onnumCores
- The number of cores to run the algorithm onpublic DFSParallel(ScheduleGrph input, CostFunction cost, int numProcessors, int numCores, 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 onnumCores
- The number of cores to run the algorithm onlisten
- The ScheduleListener to register with this objectpublic PartialScheduleGrph runAlg()
Algorithm