K
- public static final class SingleSourceShortestPaths.MinDistanceMessenger<K> extends MessagingFunction<K,Double,Double,Double>
Constructor and Description |
---|
MinDistanceMessenger() |
Modifier and Type | Method and Description |
---|---|
void |
sendMessages(Vertex<K,Double> vertex)
This method is invoked once per superstep for each vertex that was changed in that superstep.
|
getBroadcastSet, getDirection, getEdges, getInDegree, getIterationAggregator, getNumberOfVertices, getOutDegree, getPreviousIterationAggregate, getSuperstepNumber, postSuperstep, preSuperstep, sendMessageTo, sendMessageToAllNeighbors
public void sendMessages(Vertex<K,Double> vertex)
MessagingFunction
sendMessages
in class MessagingFunction<K,Double,Double,Double>
vertex
- The vertex that was changed.Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.