-
Hi a) I guess Vertex has as many entries for each node as it participates in a link - 1 for source and 1 for sink I added some links where in there is some recursion - ie Node 1 is source of Node 8 and again Node 8 is source of Node 1. So how does the query know not to get caught in the loop. Or should I mentally look at it as - take the node in question , take a snapshot of the DB and then update only this particular node. Again repeat for other nodes. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi,
It literally gets compiled as
Then first iteration adds the rank of one what you get from r0:
And so on. I've also created a tweet about it :-) Let me know if you have further questions. |
Beta Was this translation helpful? Give feedback.
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:
It literally gets compiled as
Then first iteration adds the rank of one what you get from r0: