Interface ISearchAlgorithm

All Known Implementing Classes:
DepthFirstSearch

public interface ISearchAlgorithm
Interface representing an algorithm that searches a graph.
Since:
Aug 25, 2005
Version:
$Revision$
Author:
Felipe Leme (dbunit@felipeal.net)
  • Method Summary

    Modifier and Type
    Method
    Description
    search(Set nodesFrom, ISearchCallback callback)
    Search all nodes that originates from a set of nodes.
  • Method Details

    • search

      Set search(Set nodesFrom, ISearchCallback callback) throws SearchException
      Search all nodes that originates from a set of nodes.
      Parameters:
      nodesFrom - input nodes
      callback - helper callback
      Returns:
      all nodes, in the right dependent order (like a LinkedHashSet)
      Throws:
      Exception - exception wrapper
      SearchException