public class SingleSourceShortestPathWorker extends TaskWorker
computeEnvironment, config, persistentVolume, taskExecutor, volatileVolume, workerController, workerEnvironment, workerId
Constructor and Description |
---|
SingleSourceShortestPathWorker() |
Modifier and Type | Method and Description |
---|---|
static ComputeGraph |
buildComputationSsspTG(int parallelismValue,
Config conf) |
static ComputeGraph |
buildDataPointsTG(java.lang.String dataDirectory,
int dsize,
int parallelismValue,
java.lang.String soruceVertex,
Config conf) |
static ComputeGraph |
buildSsspInitialTG(java.lang.String dataDirectory,
int dsize,
int parallelismValue,
java.lang.String soruceVertex,
Config conf) |
void |
execute()
A user needs to implement this method to create the task graph and execute it
|
execute
public void execute()
TaskWorker
execute
in class TaskWorker
public static ComputeGraph buildDataPointsTG(java.lang.String dataDirectory, int dsize, int parallelismValue, java.lang.String soruceVertex, Config conf)
public static ComputeGraph buildSsspInitialTG(java.lang.String dataDirectory, int dsize, int parallelismValue, java.lang.String soruceVertex, Config conf)
public static ComputeGraph buildComputationSsspTG(int parallelismValue, Config conf)