aima.search.uninformed
Class BidirectionalSearch
java.lang.Object
aima.search.uninformed.BidirectionalSearch
- All Implemented Interfaces:
- Search
public class BidirectionalSearch
- extends java.lang.Object
- implements Search
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
metrics
protected Metrics metrics
BidirectionalSearch
public BidirectionalSearch()
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
getSearchOutcome
public BidirectionalSearch.SearchOutcome getSearchOutcome()
getMetrics
public Metrics getMetrics()
- Specified by:
getMetrics
in interface Search
clearInstrumentation
public void clearInstrumentation()
getNodesExpanded
public int getNodesExpanded()
setNodesExpanded
public void setNodesExpanded(int nodesExpanded)
getQueueSize
public int getQueueSize()
setQueueSize
public void setQueueSize(int queueSize)
getMaxQueueSize
public int getMaxQueueSize()
getPathCost
public double getPathCost()
setPathCost
public void setPathCost(java.lang.Double pathCost)