ir.webutils
Class ProximityBeamSearchSpider

java.lang.Object
  extended by ir.webutils.Spider
      extended by ir.webutils.BeamSearchSpider
          extended by ir.webutils.ProximityBeamSearchSpider

public class ProximityBeamSearchSpider
extends BeamSearchSpider

A BeamSearchSpider that uses the ProximityLinkHeuristic instead of the default LinkHeuristic.


Field Summary
 
Fields inherited from class ir.webutils.BeamSearchSpider
beamSize, goal, goalPage, heuristic
 
Fields inherited from class ir.webutils.Spider
count, linksToVisit, maxCount, saveDir, slow, visited, webpr
 
Constructor Summary
ProximityBeamSearchSpider()
           
 
Method Summary
protected  LinkHeuristic constructLinkHeuristic()
          Return default LinkHeuristic.
static void main(java.lang.String[] args)
          Search the web using beam search according to the following command options, but stay within the initial host site.
 
Methods inherited from class ir.webutils.BeamSearchSpider
doCrawl, getNewLinks, go, handleBCommandLineOption, handleHCommandLineOption, handleUCommandLineOption, handleWCommandLineOption, processArgs, scoreLinks
 
Methods inherited from class ir.webutils.Spider
handleCCommandLineOption, handleDCommandLineOption, handleSafeCommandLineOption, handleSlowCommandLineOption, indexPage, linkToHTMLPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProximityBeamSearchSpider

public ProximityBeamSearchSpider()
Method Detail

constructLinkHeuristic

protected LinkHeuristic constructLinkHeuristic()
Description copied from class: BeamSearchSpider
Return default LinkHeuristic. Specializations can override this method to utilize alternate link heuristics.

Overrides:
constructLinkHeuristic in class BeamSearchSpider

main

public static void main(java.lang.String[] args)
Search the web using beam search according to the following command options, but stay within the initial host site.