aima.search.informed
Class HillClimbingSearch

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

public class HillClimbingSearch
extends NodeExpander
implements Search


Nested Class Summary
static class HillClimbingSearch.SearchOutcome
           
 
Field Summary
 
Fields inherited from class aima.search.framework.NodeExpander
metrics, NODES_EXPANDED
 
Constructor Summary
HillClimbingSearch()
           
 
Method Summary
 java.lang.Object getLastSearchState()
           
 HillClimbingSearch.SearchOutcome getOutcome()
           
 java.util.List search(Problem p)
           
 
Methods inherited from class aima.search.framework.NodeExpander
clearInstrumentation, 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

HillClimbingSearch

public HillClimbingSearch()
Method Detail

search

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

getOutcome

public HillClimbingSearch.SearchOutcome getOutcome()

getLastSearchState

public java.lang.Object getLastSearchState()