Interface GraphIterator.EdgeAcceptor<N,E extends DirectedGraphEdge<? extends N,? extends N>>
-
- Enclosing class:
- GraphIterator
public static interface GraphIterator.EdgeAcceptor<N,E extends DirectedGraphEdge<? extends N,? extends N>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
acceptEdge(E edge, int depth)
Used while searching.
-
-
-
Method Detail
-
acceptEdge
boolean acceptEdge(E edge, int depth)
Used while searching. If this method returns false for a certain edge, then this edge is not traversed in the search.- Parameters:
edge
-- Returns:
-
-