Class SpectralRanking.NormStoppingCriterion

java.lang.Object
it.unimi.dsi.law.big.rank.SpectralRanking.NormStoppingCriterion
All Implemented Interfaces:
SpectralRanking.StoppingCriterion
Enclosing class:
SpectralRanking

public static class SpectralRanking.NormStoppingCriterion
extends Object
implements SpectralRanking.StoppingCriterion
A stopping criterion that evaluates SpectralRanking.normDelta(), and stops if this value is smaller than a given threshold.

Note that this criterion assumes SpectralRanking.normDelta() has been properly implemented.

  • Constructor Details

    • NormStoppingCriterion

      public NormStoppingCriterion​(double threshold)
      Creates an instance with given threshold.
      Parameters:
      threshold - the threshold.
  • Method Details