Interface WeightCombiner

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface WeightCombiner
    Binary operator for edge weights. There are some prewritten operators.
    • Method Detail

      • combine

        double combine​(double a,
                       double b)
        Combines two weights.
        Parameters:
        a - first weight
        b - second weight
        Returns:
        result of the operator