Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. a. Figure 2 shows a simple crawler thread. Discuss how crawler works based on it. (6 Marks) procedure CRAWLERTHREAD(frontier) while not frontier.done() do website
1. a. Figure 2 shows a simple crawler thread. Discuss how crawler works based on it. (6 Marks) procedure CRAWLERTHREAD(frontier) while not frontier.done() do website frontier.nextSite () url website.nextURL() if website.permitsCrawl (url) then text retrieveURL (url) storedocument (url, text) for each url in parse (text) do frontier.adduRL (url) end for if endier.releasesite (website) end procedure Figure 2 b. What are the information (in bold) given by this sitemap (Figure 3 ) to the crawler? (4 Marks) Figure 3
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started