VV- the vertex value type
public interface ReduceNeighborsFunction<VV> extends Function, Serializable
|Modifier and Type||Method and Description|
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 combine
secondNeighborValue- the second neighboring vertex value to combine
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.