fgl-5.4.2.3: Martin Erwig's Functional Graph Library
Data.Graph.Inductive.Monad.IOArray
Contents
Description
Static IOArray-based Graphs
Synopsis
data SGr a b
Constructors
Instances
type GraphRep a b = (Int, Array Node (Context' a b), IOArray Node Bool)
type Context' a b = Maybe (Adj b, a, Adj b)
type USGr = SGr () ()
defaultGraphSize :: Int
emptyN :: Int -> IO (SGr a b)
removeDel :: IOArray Node Bool -> Adj b -> IO (Adj b)
filter list (of successors/predecessors) through a boolean ST array representing deleted marks