Discussion Board
Go to the previous messageThere are no next messages
Current Forum: Homework 5 General Forum
Date: Sat Nov 3 2001 4:15 pm
Author: Lee, Peter <petel@cmu.edu>
Subject: Re: PageRank

Great question.

First of all, it is good to recognize the fact that highly popular web sites (ie, web sites with very high in-degree) are often popular not just because they have great content, but also because they provide direct links to other very useful and popular web sites.

So, for example, if cnn.com were to add a direct link to your web site, that would say something important about your web site.

If you wanted to take this into account in your search engine, how would you do that? One approach, and in fact this is the approach recommended for this assignment, is to build a complete graph data structure whose vertices represent all of the web pages that your WebSpider visits, with edges representing all of the hyperlinks between pages. Then, when you invoke the makeIndex() method, the first thing that can be done is to traverse the graph structure, computing the in-degree of each vertex. (We will spend all of this coming week on graph data structures and algorithms.)

But what if you didn't want to build an entire graph structure? What would you do in that case?
Post response

Go to the previous messageThere are no next messages
Current Thread Detail:
PageRank      Lee, Peter      Fri Nov 2 2001 4:54 pm       
Re: PageRank      Shi, Ying      Fri Nov 2 2001 6:26 pm       
Re: PageRank      Lee, Peter      Sat Nov 3 2001 4:06 pm       
Re: PageRank      Scherer, Sebastian      Sat Nov 3 2001 11:34 am       
Re: PageRank      Lee, Peter      Sat Nov 3 2001 4:15 pm       

Back to previous screen