hgraph-1.2.0.1: Tools for working on (di)graphs.
Safe HaskellSafe-Inferred
LanguageHaskell2010

HGraph.Undirected.Solvers.IndependentSet

Synopsis

Documentation

maximize :: (Adjacency t, Mutable t) => t a -> [a] Source #

Find a maximum independet set in g

atLeast :: (Adjacency t, Mutable t) => t a -> Int -> Maybe [a] Source #

Search for an independent set of size at least k in g

reduce :: (Adjacency t, Mutable t) => t a -> Int -> (t a, [a], Int) Source #