public class HBSEComputation extends AbstractComputation<Text,VertexData,Text,PathData,PathData>
| Constructor and Description |
|---|
HBSEComputation() |
| Modifier and Type | Method and Description |
|---|---|
void |
compute(Vertex<Text,VertexData,Text> vertex,
Iterable<PathData> messages)
Works in two major stages which are repeated and coordinated
by the setting of a global state (set by the master compute class)
Stage 1: Discover shortest paths, and shortest path counts for each source vertex in a globally set pivot batch to each node in the graph.
Stage 2: Accumulate pair dependencies.
|
HighBetweennessList |
getNewHighBetweennessList(String id,
double value)
Get a new HighBetweennessList object, configured with the betweenness.set.maxSize option
from the job conf.
|
void |
initialize(GraphState graphState,
WorkerClientRequestProcessor<Text,VertexData,Text> workerClientRequestProcessor,
GraphTaskManager<Text,VertexData,Text> graphTaskManager,
WorkerAggregatorUsage workerAggregatorUsage,
WorkerContext workerContext) |
addEdgeRequest, addVertexRequest, addVertexRequest, aggregate, getAggregatedValue, getContext, getSuperstep, getTotalNumEdges, getTotalNumVertices, getWorkerContext, postSuperstep, preSuperstep, removeEdgesRequest, removeVertexRequest, sendMessage, sendMessageToAllEdges, sendMessageToMultipleEdgesgetConf, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConf, setConfpublic void initialize(GraphState graphState, WorkerClientRequestProcessor<Text,VertexData,Text> workerClientRequestProcessor, GraphTaskManager<Text,VertexData,Text> graphTaskManager, WorkerAggregatorUsage workerAggregatorUsage, WorkerContext workerContext)
initialize in interface Computation<Text,VertexData,Text,PathData,PathData>initialize in class AbstractComputation<Text,VertexData,Text,PathData,PathData>public void compute(Vertex<Text,VertexData,Text> vertex, Iterable<PathData> messages) throws IOException
compute in interface Computation<Text,VertexData,Text,PathData,PathData>compute in class AbstractComputation<Text,VertexData,Text,PathData,PathData>IOExceptionpublic HighBetweennessList getNewHighBetweennessList(String id, double value)
id - Vertex Idvalue - Betweenness Value