A small library for dealing with graph theory problems in Haskell. A couple of algorithms are included.
-
Download the Haskell Platform or install it using a package manager.
-
Install stack, the Haskell package manager and build system.
-
run
stack buildto build the GraphTheory library. -
stack exec graphtestto run Main.hs... By default, it will just run a test of the delta-plus-one edge-coloring algorithm.
is the PDF explaining my functional take on this edge-coloring algorithm compiled from the literate Haskell file EdgeColor.lhs.