|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISearchCallback
Callback used by the search algorithms.
This interface is responsible for providing the edges of the graph and it can
be notified of some events generated by the search.
Method Summary | |
---|---|
SortedSet |
getEdges(Object fromNode)
Get the edges originating from a node. |
void |
nodeAdded(Object fromNode)
Notifies the callback that a node has been added to the search result. |
boolean |
searchNode(Object node)
Decides if a node should be searched or not |
Method Detail |
---|
SortedSet getEdges(Object fromNode) throws SearchException
node
- node from
Exception
- exception wrapper
SearchException
void nodeAdded(Object fromNode) throws SearchException
fromNode
- node that has been added.
Exception
- exception wrapper
SearchException
boolean searchNode(Object node) throws SearchException
node
- node to be filtered
Exception
- exception wrapper
SearchException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |