protected class DelegatePiece.DelegateWorkerReceiveFunctions extends AbstractPiece.InnerVertexReceiver
| Constructor and Description |
|---|
DelegateWorkerReceiveFunctions(ArrayList<VertexReceiver<I,V,E,M>> workerReceiveFunctions) |
| Modifier and Type | Method and Description |
|---|---|
void |
postprocess()
Override to finish computation.
|
void |
vertexReceive(Vertex<I,V,E> vertex,
Iterable<M> messages)
Must be defined by user to do computation on a single Vertex.
|
public void vertexReceive(Vertex<I,V,E> vertex, Iterable<M> messages)
VertexReceiververtex - Vertexmessages - Messages that were sent to this vertex in the previous
superstep. Each message is only guaranteed to have
a life expectancy as long as next() is not called.public void postprocess()
VertexPostprocessorpostprocess in interface VertexPostprocessorpostprocess in class AbstractPiece.InnerVertexReceiverCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.