VV
- the vertex value typepublic interface ReduceNeighborsFunction<VV> extends Function, Serializable
Graph.reduceOnNeighbors(ReduceNeighborsFunction, EdgeDirection)
method.Modifier and Type | Method and Description |
---|---|
VV |
reduceNeighbors(VV firstNeighborValue,
VV secondNeighborValue)
It combines two neighboring vertex values into one new value of the same type.
|
VV reduceNeighbors(VV firstNeighborValue, VV secondNeighborValue)
firstNeighborValue
- the first neighboring vertex value to combinesecondNeighborValue
- the second neighboring vertex value to combineCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.