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

HGraph.Directed.Connectivity

Synopsis

Documentation

reachable :: forall a t. (Adjacency t, Ord a) => t a -> a -> a -> Bool Source #

allPaths :: (Ord t1, Adjacency t2) => t2 t1 -> t1 -> t1 -> [[t1]] Source #

allLinkages :: (DirectedGraph t1, Adjacency t1, Eq b, Eq t2, Num t2) => t1 b -> t2 -> b -> b -> [[[b]]] Source #

allMaximalPaths :: (DirectedGraph t, Adjacency t) => t b -> [[b]] Source #

All maximal paths on a digraph, represented as a list of vertices. | Cycles are also considered as maximal paths and their corresponding lists contain the initial vertex twice.

data LinkageInstance a Source #

Constructors

LinkageInstance 

Fields