graphite-0.10.0.1: Graphs and networks library

Safe HaskellSafe
LanguageHaskell2010

Data.Graph.Traversal

Synopsis

Documentation

bfsVertices :: (Graph g, Hashable v, Eq v, Ord v) => g v e -> v -> [v] Source #

breadh-first-search vertices starting at a particular vertex

dfsVertices :: (Graph g, Hashable v, Eq v, Ord v) => g v e -> v -> [v] Source #

depth-first-search vertices starting at a particular vertex