| Safe Haskell | None |
|---|
Data.Graph.Inductive.Query.Ear
Description
Ear decomposition of a graph.
Documentation
ears :: forall gr. DynGraph gr => gr () () -> gr () IntSource
The ears function takes a graph with no node or edge annotation and
produces an ear decomposition. Each edge is annotated with a weight. Edges
with the same weight are in the same ear.
treeToEdges :: Tree Node -> [Edge]Source
treeToPaths :: Tree Node -> [[Node]]Source