01: /*
02: * Created on Dec 15, 2004
03: *
04: * To change the template for this generated file go to
05: * Window>Preferences>Java>Code Generation>Code and Comments
06: */
07: package org.archive.crawler.frontier;
08:
09: import org.archive.crawler.datamodel.CrawlURI;
10:
11: /**
12: * CostAssignmentPolicy considering all URIs costless -- essentially
13: * disabling budgetting features.
14: *
15: * @author gojomo
16: */
17: public class ZeroCostAssignmentPolicy extends CostAssignmentPolicy {
18:
19: /* (non-Javadoc)
20: * @see org.archive.crawler.frontier.CostAssignmentPolicy#costOf(org.archive.crawler.datamodel.CrawlURI)
21: */
22: public int costOf(CrawlURI curi) {
23: return 0;
24: }
25:
26: }
|