hmt-base-0.20: Haskell Music Theory Base
Safe HaskellSafe-Inferred
LanguageHaskell2010

Music.Theory.Graph.Bliss

Description

Synopsis

Documentation

bliss_parse_problem :: String -> (Int, Int) Source #

Problem is (n-vertices,n-edges)

bliss_parse_vertex_colour :: String -> (Int, Int) Source #

Vertex colour is (vertex,colour)

bliss_parse_edge :: String -> (Int, Int) Source #

Edge is (vertex,vertex)

type Bliss = ((Int, Int), [(Int, Int)], [(Int, Int)]) Source #

(problem,vertex-colours,edges) Bliss data is one-indexed.

bliss_to_g :: Bliss -> G Source #

Bliss (one-indexed) to G (zero-indexed)