1 / 6

Lab 10

Lab 10. Keerthi Nelaturu. What is a Crawler? . Keeps track of all the and web pages Mainly used to help search engines Searches a web page for links until there are none to find. Example : www.google.ca. Breadth First Search. Crawler Implementation - HTML. Checks for the URL pattern

neena
Download Presentation

Lab 10

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Lab 10 KeerthiNelaturu

  2. What is a Crawler? • Keeps track of all the and web pages • Mainly used to help search engines • Searches a web page for links until there are none to find. • Example : www.google.ca

  3. Breadth First Search

  4. Crawler Implementation - HTML • Checks for the URL pattern • Gets the content of the page Important Methods : • hasMoreUrls • nextUrl

  5. Crawler Implementation - Path • Queue used in BFS algorithm uses Path to keep track of the URL’s.

  6. Crawler Implementation - Crawler • Implements BFS using Linked Queue. • Uses Path class to store all partial solutions Important Methods: • isValid • Solve – BFS in this method

More Related