public SearchAgent(Problem p, Search search) { actionList = search.search(p); actionIterator = actionList.GetEnumerator(); searchMetrics = search.getMetrics(); }
public NodeExpander() { metrics = new Metrics(); }
public SearchAgent(Problem p, Search search) { actionList = search.search(p); actionIterator = actionList.GetEnumerator(); searchMetrics = search.getMetrics(); }
public IterativeDeepeningSearch() { this.limit = 32000;//define an arbitrarily large default integer, or it will just keep on going.... iterationMetrics = new Metrics(); iterationMetrics.set(NODES_EXPANDED, 0); }