Interface GraphIterator.NodeAcceptor<T extends DirectedGraphNode>
-
- Enclosing class:
- GraphIterator
public static interface GraphIterator.NodeAcceptor<T extends DirectedGraphNode>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
acceptNode(T node, int depth)
Used while searching.
-
-
-
Method Detail
-
acceptNode
boolean acceptNode(T node, int depth)
Used while searching. If this method returns false for a certain node, then this node is not added to the search result and the search does not continue along this node.- Parameters:
edge
-- Returns:
-
-