public void modify() {
      double temp;
      if (sigma < EPSILON) {
        temp = Math.abs(u - center);
      } else {
        temp = Math.max(sigma, Math.abs(u - center) / 3);
      }
      temp *=
          (double) (time[index + 1] - time[index])
              * (time[index] - time[index - 1])
              / (time[index + 1] - time[index - 1]);
      if (this.u > center) {
        repaired[index] += temp;
      } else {
        repaired[index] -= temp;
      }
    }
modify values of repaired points, to make the difference of its speed variation and center is
1 sigma.
library-udf/src/main/java/org/apache/iotdb/library/drepair/util/LsGreedy.java