fgl-5.5.1.0: Martin Erwig's Functional Graph Library

Safe HaskellNone
LanguageHaskell98

Data.Graph.Inductive.Monad.IOArray

Contents

Description

Static IOArray-based Graphs

Synopsis

Graph Representation

newtype 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

type USGr = SGr () () 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