Interface Aggregator

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double apply​(long sourceNode, long currentNode, double weightAtSource)
      aggregate weight between source and current node
    • Field Detail

      • NO_AGGREGATION

        static final Aggregator NO_AGGREGATION
    • Method Detail

      • apply

        double apply​(long sourceNode,
                     long currentNode,
                     double weightAtSource)
        aggregate weight between source and current node
        Parameters:
        sourceNode - source node
        currentNode - the current node
        weightAtSource - the weight that has been aggregated for the currentNode so far
        Returns:
        new weight (e.g. weightAtSource + 1.)