Skip to content

PageRank Alogrithm #106

Answered by EvgSkv
jedi1992 asked this question in Q&A
Jun 5, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi,
your understanding is going in the right direction!
It's just computation is done iteratively for all of the nodes.
I.e. at first each node gets rank of one from the rule:

PageRank(a) += 1.0 :- Vertex(a);                                                                                                                    

It literally gets compiled as

PageRank_r0(a) += 1.0 :- Vertex(a);                                                                                                                    

Then first iteration adds the rank of one what you get from r0:

PageRank_r1(a) += 1.0 :- Vertex(a);                                                                                         …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jedi1992
Comment options

Answer selected by jedi1992
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants