Skip to content

[Question][Hw1][Problem 7] Questions on further assumptions of page rank algorithm #9

@yusungsim

Description

@yusungsim

Hi. I'd like to ask about more assumptions of the page rank algorithm of problem 7.

  1. Can I assume that there will be no self-referencing pages? (ie. all pages doesn't not have link to themselves)

  2. 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions