Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Implemented
-
0.9
-
None
Description
Currently, the neighborhood methods only allow returning a single value per vertex. In many cases, it is desirable to return several or no value per vertex. This is the case in clustering coefficient computation, vertex-centric jaccard, algorithms where a vertex computes a value per edge or when a vertex computes a value only for some of its neighbors.
This issue proposes to
- change the current reduceOnEdges/reduceOnNeighbors methods to use combinable reduce operations where possible
- provide groupReduce-versions, which will use a Collector and allow returning none or more values per vertex.