Interface WeightFunction

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getWeight​(double distance, double max, double stddev)
      Evaluate weight function with given parameters.
    • Method Detail

      • getWeight

        double getWeight​(double distance,
                         double max,
                         double stddev)
        Evaluate weight function with given parameters.

        Note that usually implementations will ignore either max or stddev.

        Parameters:
        distance - distance of the query point
        max - maximum distance of all included points
        stddev - standard deviation (i.e. quadratic mean / RMS) of the included points
        Returns:
        weight for the query point