fgl-5.7.0.3: Martin Erwig's Functional Graph Library

Data.Graph.Inductive.Query.Indep

Description

Maximum Independent Node Sets

indep :: DynGraph gr => gr a b -> [Node] Source #

Calculate the maximum independent node set of the specified graph.

indepSize :: DynGraph gr => gr a b -> ([Node], Int) Source #

The maximum independent node set along with its size.