aima.search.framework
Class NodeExpander

java.lang.Object
  extended by aima.search.framework.NodeExpander
Direct Known Subclasses:
DepthLimitedSearch, HillClimbingSearch, IterativeDeepeningSearch, QueueSearch, RecursiveBestFirstSearch, SimulatedAnnealingSearch

public class NodeExpander
extends java.lang.Object


Field Summary
protected  Metrics metrics
           
protected static java.lang.String NODES_EXPANDED
           
 
Constructor Summary
NodeExpander()
           
 
Method Summary
 void clearInstrumentation()
           
 java.util.List<Node> expandNode(Node node, Problem problem)
           
 Metrics getMetrics()
           
 int getNodesExpanded()
           
 java.lang.Object getSearchMetric(java.lang.String name)
           
 void setNodesExpanded(int nodesExpanded)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

metrics

protected Metrics metrics

NODES_EXPANDED

protected static java.lang.String NODES_EXPANDED
Constructor Detail

NodeExpander

public NodeExpander()
Method Detail

clearInstrumentation

public void clearInstrumentation()

expandNode

public java.util.List<Node> expandNode(Node node,
                                       Problem problem)

getNodesExpanded

public int getNodesExpanded()

setNodesExpanded

public void setNodesExpanded(int nodesExpanded)

getSearchMetric

public java.lang.Object getSearchMetric(java.lang.String name)

getMetrics

public Metrics getMetrics()