Algorithm
Development Kit 1.0

algs.model.searchtree
Interface ISearch

All Known Implementing Classes:
AStarSearch, AStarSearch, BreadthFirstSearch, BreadthFirstSearch, DepthFirstSearch, DepthFirstSearch

public interface ISearch

Common interface for all search algorithms over a search tree.

Since:
1.0
Version:
1.0, 6/15/08
Author:
George Heineman

Method Summary
 Solution search(INode initial, INode target)
          Given the initial state, return a Solution to the final state, or null if no such path can be found.
 

Method Detail

search

Solution search(INode initial,
                INode target)
Given the initial state, return a Solution to the final state, or null if no such path can be found.

Parameters:
initial - the initial board state
target - the final board state

Algorithm Development Kit 1.0

This code supports the Algorithms in a Nutshell book, published by O'Reilly Media, Inc. in November 2008. Please visit the book web page to learn of any changes to the code repository or to record a potential defect.