aima.search.informed
Class AStarSearch

java.lang.Object
  extended by aima.search.framework.PrioritySearch
      extended by aima.search.informed.AStarSearch
All Implemented Interfaces:
Search

public class AStarSearch
extends PrioritySearch

Author:
Ravi Mohan

Field Summary
 
Fields inherited from class aima.search.framework.PrioritySearch
search
 
Constructor Summary
AStarSearch(QueueSearch search)
           
 
Method Summary
protected  java.util.Comparator getComparator(Problem p)
           
 Metrics getMetrics()
           
 
Methods inherited from class aima.search.framework.PrioritySearch
search
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AStarSearch

public AStarSearch(QueueSearch search)
Method Detail

getMetrics

public Metrics getMetrics()
Specified by:
getMetrics in interface Search
Overrides:
getMetrics in class PrioritySearch

getComparator

protected java.util.Comparator getComparator(Problem p)
Specified by:
getComparator in class PrioritySearch