aima.search.informed
Class RecursiveBestFirstSearch

java.lang.Object
  extended by aima.search.framework.NodeExpander
      extended by aima.search.informed.RecursiveBestFirstSearch
All Implemented Interfaces:
Search

public class RecursiveBestFirstSearch
extends NodeExpander
implements Search


Field Summary
 
Fields inherited from class aima.search.framework.NodeExpander
metrics, NODES_EXPANDED
 
Constructor Summary
RecursiveBestFirstSearch(EvaluationFunction ef)
           
 
Method Summary
 void clearInstrumentation()
           
 int getMaxRecursiveDepth()
           
 double getPathCost()
           
 java.util.List<java.lang.String> search(Problem p)
           
 void setMaxRecursiveDepth(int recursiveDepth)
           
 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

RecursiveBestFirstSearch

public RecursiveBestFirstSearch(EvaluationFunction ef)
Method Detail

search

public java.util.List<java.lang.String> 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

setMaxRecursiveDepth

public void setMaxRecursiveDepth(int recursiveDepth)

getMaxRecursiveDepth

public int getMaxRecursiveDepth()

getPathCost

public double getPathCost()

setPathCost

public void setPathCost(java.lang.Double pathCost)