aima.search.uninformed
Class BreadthFirstSearch

java.lang.Object
  extended by aima.search.uninformed.BreadthFirstSearch
All Implemented Interfaces:
Search

public class BreadthFirstSearch
extends java.lang.Object
implements Search

Artificial Intelligence A Modern Approach (2nd Edition): page 73. Breadth-first search.


Constructor Summary
BreadthFirstSearch(QueueSearch search)
           
 
Method Summary
 Metrics getMetrics()
           
 java.util.List search(Problem p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BreadthFirstSearch

public BreadthFirstSearch(QueueSearch search)
Method Detail

search

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

getMetrics

public Metrics getMetrics()
Specified by:
getMetrics in interface Search