es.yrbcn.graph.weighted
Interface WeightedPageRank.StoppingCriterion

All Known Implementing Classes:
WeightedPageRank.IterationNumberStoppingCriterion, WeightedPageRank.NormDeltaStoppingCriterion
Enclosing class:
WeightedPageRank

public static interface WeightedPageRank.StoppingCriterion

A stopping criterion is a strategy that decides when a PageRank computation should be stopped.


Method Summary
 boolean shouldStop(WeightedPageRank p)
          Determines if the computation should be stopped.
 

Method Detail

shouldStop

boolean shouldStop(WeightedPageRank p)
Determines if the computation should be stopped.

Parameters:
p - the PageRank object.
Returns:
true iff the computation should be stopped.