# Iterations
0
Average Page Rank
0.25
You can drag links between pages or add new ones.
const getRanksOverNumberOfBackLinks = (url) => {
return getBackLinkedPages(url).map(backLinkPage => {
return backLinkPage.rank / countOutLinks(backLinkPage.url)
});
};
const normalizedSum = (ranksOverNumberOfBackLinks) => {
return (1 - d) + d * sum(ranksOverNumberOfBackLinks);
};
const pageRank = normalizedSum(
getRanksOverNumberOfBackLinks(
url
)
);