Safe Haskell | None |
---|---|
Language | GHC2021 |
Implementation of Strongly Connected Components calculation. Use Scc
instead.
Since: 1.0.0
Internal SCC
Constructor
new :: PrimMonad m => Int -> m (SccGraph (PrimState m)) #
\(O(n)\) Creates SccGraph
of \(n\) vertices.
Since: 1.0.0
Modifying the graph
addEdge :: PrimMonad m => SccGraph (PrimState m) -> Int -> Int -> m () #
\(O(1)\) amortized. Adds an edge to the graph.
Since: 1.0.0