docs: public static double Minkowski(double x1, double y1, double x2, double y2, int r) {
          double sum = Math.pow(Math.abs(x1 - x2), r);
          sum += Math.pow(Math.abs(y1 - y2), r);
          return Math.pow(sum, 1 / r);
      }