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

HGraph.Undirected.Expanders

Synopsis

Documentation

edgeExpansion :: (UndirectedGraph g, Adjacency g) => g a -> (Double, [a]) Source #

Edge expansion of a graph, together with a set of verticies certifying that the expansion is not greater.

vertexExpansion :: Adjacency g => g a -> (Double, [a]) Source #

Vertex expansion of a graph, together with a set of verticies certifying that the expansion is not greater.