|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use WebPage | |
|---|---|
| cs132.dijkstra | Classes for perfoming Dijkstra's shortest path algorithm to find the shortest path in a weighted graph from a starting vertex to all other vertices. |
| cs132.webSpider | Classes for representing WebPages and performing a web crawl. |
| Uses of WebPage in cs132.dijkstra |
|---|
| Methods in cs132.dijkstra that return types with arguments of type WebPage | |
|---|---|
java.util.Collection<? extends WebPage> |
WebPageCostModel.getSuccessors(WebPage e)
|
| Methods in cs132.dijkstra with parameters of type WebPage | |
|---|---|
int |
UnitCost.cost(WebPage from,
WebPage to)
|
int |
CharacterDistance.cost(WebPage from,
WebPage to)
|
java.util.Collection<? extends WebPage> |
WebPageCostModel.getSuccessors(WebPage e)
|
| Uses of WebPage in cs132.webSpider |
|---|
| Methods in cs132.webSpider that return WebPage | |
|---|---|
WebPage |
Spider.addURLToCrawl(java.net.URL u)
Add the WebPage corresponding to a URL to the set of pages to crawl. |
WebPage |
Spider.getNextPageToCrawl()
Determines the web page that should next be crawled and removes it from the queue, skipping over any web pages that have already been visited. |
WebPage |
Spider.lookupWebPage(java.net.URL u)
Given a URL, returns the corresponding web page corresponding to the normalized URL |
| Methods in cs132.webSpider that return types with arguments of type WebPage | |
|---|---|
java.util.Set<WebPage> |
WebPage.getLinks()
Returns a set of Webpages linked to by this web page |
java.util.Collection<WebPage> |
Spider.getWebPages()
Returns a collection of all known web pages, including both visited and unvisited webpages |
| Methods in cs132.webSpider with parameters of type WebPage | |
|---|---|
void |
WebPage.addLink(WebPage w)
Adds a link to the WebPage |
void |
Spider.addPageToCrawl(WebPage w)
Add a web page to the set of pages to be crawled |
void |
Spider.crawl(WebPage w)
Crawl one WebPage. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||