assignment1
Interface IStrategy

All Known Implementing Classes:
CAStarStrategy, CBreadthFirstStrategy, CDepthFirstStrategy, CIterativeDeepeningStrategy

public interface IStrategy

This interface is the heart of CSearch.


Method Summary
 CNode Select(java.util.Vector<CNode> arg_node_v, CNode arg_node)
          The manner in which one selects from the available fringe determined the behavior of search.
 void SetDomain(IDomain arg_problem)
          Some strategies need access to the problem
 

Method Detail

Select

CNode Select(java.util.Vector<CNode> arg_node_v,
             CNode arg_node)
The manner in which one selects from the available fringe determined the behavior of search.

Parameters:
arg_node - a CNode value, the fringe, ie the available options to explore
Returns:
a CNode value, the current position

SetDomain

void SetDomain(IDomain arg_problem)
Some strategies need access to the problem

Parameters:
arg_problem - an IDomain value