Hi. I think that simplified version of PageRank algorithm has some diverging case so that iteration does not end.
For example, consider following web object
let web = [(0, [1]); (1, [2]); (2, [1]);]
In this case, the algorithm will infinitely loop between two imporance states, (0: 0, 1: 2, 2: 1) and (0: 0, 1: 1, 2: 2).
Is my understanding correct? If yes, what should we do about this case?
(I think if all pages have self-referencing links, there will be no diverging case...)