aima.search.uninformed
Class DepthLimitedSearch

java.lang.Object
  extended by aima.search.framework.NodeExpander
      extended by aima.search.uninformed.DepthLimitedSearch
All Implemented Interfaces:
Search

public class DepthLimitedSearch
extends NodeExpander
implements Search


Field Summary
 
Fields inherited from class aima.search.framework.NodeExpander
metrics, NODES_EXPANDED
 
Constructor Summary
DepthLimitedSearch(int limit)
           
 
Method Summary
 void clearInstrumentation()
           
 double getPathCost()
           
 java.util.List search(Problem p)
           
 void setPathCost(java.lang.Double pathCost)
           
 
Methods inherited from class aima.search.framework.NodeExpander
expandNode, getMetrics, getNodesExpanded, getSearchMetric, setNodesExpanded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface aima.search.framework.Search
getMetrics
 

Constructor Detail

DepthLimitedSearch

public DepthLimitedSearch(int limit)
Method Detail

search

public java.util.List search(Problem p)
                      throws java.lang.Exception
Specified by:
search in interface Search
Throws:
java.lang.Exception

clearInstrumentation

public void clearInstrumentation()
Overrides:
clearInstrumentation in class NodeExpander

getPathCost

public double getPathCost()

setPathCost

public void setPathCost(java.lang.Double pathCost)