Webpages are nodes of the graph, and links from webpages to other webpages are edges that show direction of movement. To faciltate the discussion, the PageRank algorithm is applied to the directed graph on the right. |
n×n
“hyperlink matrix” H
, where n
is the number of webpages.
If webpage i
has li≥1
links to other webpages and webpage i
links to webpage j
, then the element in row i
and column j
of H
is Hij=1/li
.
Otherwise, Hij=0
.
Thus, Hij
represents the likelihood that a random surfer selects a link from webpage i
to webpage j
.
For the directed graph in the above figure, the H is given on the right.
Node 4 is a dangling node because it does not link to other nodes.
As a result, all entries in row 4 of the example matrix are zero.
|
“I have lived with several Zen masters — all of them cats.” ― Eckhart Tolle, The Power of Now: A Guide to Spiritual Enlightenment |