Package it.unimi.dsi.law.rank
Class PageRankPush.EmptyQueueStoppingCritertion
java.lang.Object
it.unimi.dsi.law.rank.PageRankPush.EmptyQueueStoppingCritertion
- All Implemented Interfaces:
SpectralRanking.StoppingCriterion
- Enclosing class:
- PageRankPush
public static class PageRankPush.EmptyQueueStoppingCritertion extends Object implements SpectralRanking.StoppingCriterion
-
Constructor Summary
Constructors Constructor Description EmptyQueueStoppingCritertion()
-
Method Summary
Modifier and Type Method Description boolean
shouldStop(SpectralRanking p)
Determines if the computation should be stopped.
-
Constructor Details
-
EmptyQueueStoppingCritertion
public EmptyQueueStoppingCritertion()
-
-
Method Details
-
shouldStop
Description copied from interface:SpectralRanking.StoppingCriterion
Determines if the computation should be stopped.- Specified by:
shouldStop
in interfaceSpectralRanking.StoppingCriterion
- Parameters:
p
- the instance incapsulating the computation.- Returns:
- true if the computation should be stopped.
-