All pastes #284234 Raw Edit

Anonymous

public java v1 · immutable
#284234 ·published 2006-12-18 23:22 UTC
rendered paste body
pageRank = (1 - p) / n;// for each Node that links to this onefor (Node linksHereNode : linksIn.values()){    pageRank += p * linksHereNode.getPageRank() * linksInCount.get(linksHereNode.getURL()) / linksHereNode.getLinksOutTotal();    // pagerank += p * PR(node that links here) * number of times that node links here / number of outward links the node linking here has;}