Package samer.mds

Interface NewMDS.Stress

  • All Known Implementing Classes:
    NewMDS.Laplacian
    Enclosing class:
    NewMDS


    public static interface NewMDS.Stress
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      boolean add(double target, double[] x, double[] y, double[] g)
      accumulate stress due to a link given end points, return gradient in g, return true if gradient is usable, false of gradient is bad (eg singularity)
      double done()
      return normalised stress and reset for next time
      double get()
      return last value returned by done()
    • Method Detail

      • add

        boolean add(double target,
                    double[] x,
                    double[] y,
                    double[] g)
        accumulate stress due to a link given end points, return gradient in g, return true if gradient is usable, false of gradient is bad (eg singularity)
      • done

        double done()
        return normalised stress and reset for next time
      • get

        double get()
        return last value returned by done()