Interface WeightDistance_F32

All Known Implementing Classes:
WeightDistanceSqGaussian_F32, WeightDistanceUniform_F32

public interface WeightDistance_F32
Converts the distance a sample is into a weight.
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    weight(float distance)
    Returns the weight given a distance
  • Method Details

    • weight

      float weight(float distance)
      Returns the weight given a distance
      Parameters:
      distance - Distance a sample is
      Returns:
      the weight