Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- g6_load :: FilePath -> IO [String]
- g6_dsc_load :: FilePath -> IO [(String, String)]
- g6_to_edg :: [String] -> IO [Edg]
- g6_to_g :: [String] -> IO [G]
- g6_dsc_load_edg :: FilePath -> IO [(String, Edg)]
- g6_dsc_load_gr :: FilePath -> IO [(String, G)]
- adj_mtx_to_am :: Adj_Mtx Int -> String
- adj_mtx_to_g6 :: [Adj_Mtx Int] -> IO [String]
- g_to_g6 :: [G] -> IO [String]
- g_store_g6 :: FilePath -> [G] -> IO ()
- g6_labelg :: [String] -> IO [String]
- g_labelg :: [G] -> IO [G]
G6 (graph6)
g6_dsc_load :: FilePath -> IO [(String, String)] Source #
Load G6 file variant where each line is "DescriptiontG6"
g6_to_edg :: [String] -> IO [Edg] Source #
Call nauty-listg to transform a sequence of G6. (debian = nauty)
g6_dsc_load_edg :: FilePath -> IO [(String, Edg)] Source #
g6_to_edg
of g6_dsc_load
.
adj_mtx_to_am :: Adj_Mtx Int -> String Source #
Generate the text format read by nauty-amtog.
e = ((4,3),[(0,3),(1,3),(2,3)]) m = T.edg_to_adj_mtx_undir (0,1) e putStrLn (adj_mtx_to_am m)
adj_mtx_to_g6 :: [Adj_Mtx Int] -> IO [String] Source #
Call nauty-amtog to transform a sequence of Adj_Mtx to G6.
adj_mtx_to_g6 [m,m]