K
- the vertex ID typeEV
- the edge value typeT
- the accumulator type@FunctionalInterface public interface EdgeFoldFunction<K,EV,T>
KGraphWindowedStream.foldNeighbors(Object, EdgeFoldFunction)
method.Modifier and Type | Method and Description |
---|---|
T |
foldEdges(T accum,
K vertexID,
K neighborID,
EV edgeValue)
Combines two edge values into one value of the same type.
|
T foldEdges(T accum, K vertexID, K neighborID, EV edgeValue)
accum
- the initial value and accumulatorvertexID
- the vertex IDneighborID
- the neighbor's IDedgeValue
- the edge valueCopyright © 2020. All rights reserved.