fgl-5.5.0.1: Martin Erwig's Functional Graph Library

Safe HaskellNone

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

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