Hi. I'd like to ask about more assumptions of the page rank algorithm of problem 7.
-
Can I assume that there will be no self-referencing pages? (ie. all pages doesn't not have link to themselves)
-
Can I assume that all page_id will appear in the web, through 1 ~ N?
For example, there can be an example of web object like this one.
let web_ex = [
[(1, 3); (1, 4)];
[(3, 4)];
]
The maximum of page_id here is 4. However, in web_ex, 2 does not appear as a page.
In this case, should we assume that page 2 does not exists, or page 2 exists and user will do random jump after the page 2?
Thank you in advance!