docs: @Override
    public double getWeight(double distance, double max, double stddev) {
      if(max <= 0) {
        return 1.0;
      }
      double relativedistance = distance / max;
      return 1.0 - 0.9 * relativedistance * relativedistance;
    }