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

HGraph.Directed.Connectivity.IntegralLinkage

Synopsis

Documentation

linkage :: (DirectedGraph t, Adjacency t, Mutable t, Eq a) => t a -> [(a, a)] -> Maybe [((a, a), [a])] Source #

Finds an integral linkaged connecting the given terminal pairs, if one exists.

linkageI :: (DirectedGraph t, Adjacency t, Mutable t, Integral a, Ord a, Eq a) => t a -> [(a, a)] -> Maybe [((a, a), [a])] Source #

Special case of linkage where vertices are of type Int. | Faster than calling linkage if vertices of the digraph are already of type Int.

data LinkageInstance a Source #

Constructors

LinkageInstance 

Fields