Interface SpectralRanking.StoppingCriterion

All Known Implementing Classes:
PageRankPush.EmptyQueueStoppingCritertion, PageRankPush.L1NormStoppingCritertion, SpectralRanking.IterationNumberStoppingCriterion, SpectralRanking.NormStoppingCriterion
Enclosing class:
SpectralRanking

public static interface SpectralRanking.StoppingCriterion
A a strategy that decides when a computation should be stopped.
  • Method Summary

    Modifier and Type Method Description
    boolean shouldStop​(SpectralRanking spectralRanking)
    Determines if the computation should be stopped.
  • Method Details

    • shouldStop

      boolean shouldStop​(SpectralRanking spectralRanking)
      Determines if the computation should be stopped.
      Parameters:
      spectralRanking - the instance incapsulating the computation.
      Returns:
      true if the computation should be stopped.