Safe Haskell | None |
---|---|
Language | Haskell2010 |
This is a simple graph (it does not allow parallel edges). To support
this efficiently, it is less compact than Digraph
or BiDigraph
. As
a consequence, edge existence tests are efficient (logarithmic in the
number of edges leaving the source vertex).
Documentation
data MSimpleBiDigraph m Source #
Instances
data SimpleBiDigraph Source #
Instances
newMSimpleBiDigraph :: (PrimMonad m, MonadRef m) => m (MSimpleBiDigraph m) Source #
newSizedMSimpleBiDigraph :: (PrimMonad m, MonadRef m) => Int -> Int -> m (MSimpleBiDigraph m) Source #