Package org.neo4j.gds.beta.pregel
Interface Reducer
-
- All Known Implementing Classes:
Reducer.Count,Reducer.Max,Reducer.Min,Reducer.Sum
public interface Reducer
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classReducer.Countstatic classReducer.Maxstatic classReducer.Minstatic classReducer.Sum
-
Method Summary
All Methods Instance Methods Abstract 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.
-