1 /* 2 * Created on Dec 15, 2004 3 * 4 * To change the template for this generated file go to 5 * Window>Preferences>Java>Code Generation>Code and Comments 6 */ 7 package org.archive.crawler.frontier; 8 9 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 }