fgl-extras-decompositions-0.1.0.0: Graph decomposition algorithms

Safe HaskellNone

Data.Graph.Inductive.Query.Ear

Description

Ear decomposition of a graph.

Synopsis

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.

lca :: [[Node]] -> LEdge () -> LEdge IntSource

swap12 :: (t1, t, t2) -> (t, t1, t2)Source

sel3 :: (t, t1, t2) -> t2Source