| Copyright | (C) 2011 Edward Kmett |
|---|---|
| License | BSD-style (see the file LICENSE) |
| Maintainer | Edward Kmett <ekmett@gmail.com> |
| Stability | experimental |
| Portability | type families |
| Safe Haskell | Safe |
| Language | Haskell98 |
Data.Graph.AdjacencyList
Description
Synopsis
- newtype AdjacencyList i a = AdjacencyList {
- runAdjacencyList :: Array i [i] -> a
- class Graph g => AdjacencyListGraph g
- ask :: AdjacencyList i (Array i [i])
Documentation
newtype AdjacencyList i a #
Constructors
| AdjacencyList | |
Fields
| |
Instances
class Graph g => AdjacencyListGraph g #
Minimal definition: source, target, and either adjacentVertices with or outEdges = defaultOutEdgesoutEdges
Instances
ask :: AdjacencyList i (Array i [i]) #