fgl-5.4.2.4: Martin Erwig's Functional Graph Library

Data.Graph.Inductive.Monad.IOArray

Contents

Description

Static IOArray-based Graphs

Synopsis

Graph Representation

data SGr a b Source

Constructors

SGr (GraphRep a b) 

Instances

GraphM IO SGr 
(Show a, Show b) => Show (IO (SGr a b)) 
(Show a, Show b) => Show (SGr a b) 

type Context' a b = Maybe (Adj b, a, Adj b)Source

emptyN :: Int -> IO (SGr a b)Source

Utilities

removeDel :: IOArray Node Bool -> Adj b -> IO (Adj b)Source

filter list (of successors/predecessors) through a boolean ST array representing deleted marks