Package org.neo4j.gds.beta.pregel
Class Reducer.Sum
- java.lang.Object
-
- org.neo4j.gds.beta.pregel.Reducer.Sum
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.neo4j.gds.beta.pregel.Reducer
Reducer.Count, Reducer.Max, Reducer.Min, Reducer.Sum
-
-
Constructor Summary
Constructors Constructor Description Sum()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleidentity()The identity element is used as the initial value.doublereduce(double current, double message)Computes a new value based on the current value and the message.
-
-
-
Method Detail
-
identity
public double identity()
Description copied from interface:ReducerThe identity element is used as the initial value.
-
-