Modulefgl-5.8.2.0Haskell98
Data.Graph.Inductive.Query.Monad
Monadic Graph Algorithms
- 1 type
- 33 values
- Packagefgl-5.8.2.0
- Exports34
- LanguageHaskell98
- LicenceBSD-3-Clause
- SourceMonad.hs
Additional Graph Utilities
4 declarationsGraph Transformer Monad
10 declarationsConstructors
MGT (m g -> m (a, g))
Graph Computations Based on Graph Monads
0 declarationsMonadic Graph Accessing Functions
Derived Graph Recursion Operators
encapsulates a simple recursion schema on graphs
Examples: Graph Algorithms as Instances of Recursion Operators
0 declarationsInstances of graphRec
Example: Monadic DFS Algorithm(s)
6 declarationsMonadic graph algorithms are defined in two steps:
define the (possibly parameterized) graph transformer (e.g., dfsGT)
run the graph transformer (applied to arguments) (e.g., dfsM)
depth-first search yielding number of nodes
depth-first search yielding dfs forest