Package it.unimi.dsi.law.rank
Class PageRankPush.L1NormStoppingCritertion
java.lang.Object
it.unimi.dsi.law.rank.PageRankPush.L1NormStoppingCritertion
- All Implemented Interfaces:
SpectralRanking.StoppingCriterion
- Enclosing class:
- PageRankPush
public static class PageRankPush.L1NormStoppingCritertion extends Object implements SpectralRanking.StoppingCriterion
-
Constructor Summary
Constructors Constructor Description L1NormStoppingCritertion()
-
Method Summary
Modifier and Type Method Description boolean
shouldStop(SpectralRanking p)
Determines if the computation should be stopped.
-
Constructor Details
-
L1NormStoppingCritertion
public L1NormStoppingCritertion()
-
-
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.
-