001    /*
002     * Created on Sep 12, 2004
003     *
004     */
005    package aima.search.framework;
006    
007    /**
008     * @author Ravi Mohan
009     * 
010     */
011    
012    public class DefaultHeuristicFunction implements HeuristicFunction {
013    
014            public double getHeuristicValue(Object state) {
015                    throw new IllegalStateException(
016                                    "Should not be depending on the DefaultHeuristicFunction.");
017                    // return 1;
018            }
019    
020    }