Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- plc_header_txt :: String
- plc_header :: ByteString -> String
- plc_data :: ByteString -> [Int]
- plc_length :: (Int, Int) -> Int
- plc_scanner :: Int -> [Int] -> ([Int], [Int])
- type Plc = (Int, [[Int]])
- plc_n_vertices :: Plc -> Int
- plc_group :: Int -> [Int] -> Plc
- plc_segment :: [Int] -> [Plc]
- plc_parse :: ByteString -> [Plc]
- plc_load :: FilePath -> IO [Plc]
- plc_edge_set :: Plc -> [(Int, Int)]
- plc_next_elem :: Eq t => [t] -> t -> t
- plc_next_edge :: Plc -> (Int, Int) -> (Int, Int)
- plc_face_from :: Plc -> (Int, Int) -> [(Int, Int)]
- plc_face_set :: Plc -> [[(Int, Int)]]
- plc_to_g :: Plc -> G
- plc_stat :: FilePath -> IO (Int, [(Int, Int, Int)])
- plc_stat_txt :: FilePath -> (Int, [(Int, Int, Int)]) -> [String]
- g6_planarg :: [String] -> IO ByteString
- g_to_plc :: [G] -> IO [Plc]
- g6_to_pl_wr :: FilePath -> FilePath -> IO ()
Documentation
plc_header_txt :: String Source #
The 15-character header text indicating a Planar-Code file.
plc_header :: ByteString -> String Source #
Read Plc header
plc_n_vertices :: Plc -> Int Source #
plc_segment :: [Int] -> [Plc] Source #
Segment input data into sequence of Plc.
plc_parse :: ByteString -> [Plc] Source #
plc_next_elem :: Eq t => [t] -> t -> t Source #
Element in x after i, the element after the last is the first.
map (plc_next_elem "abcd") "abcd" == "bcda"
plc_face_from :: Plc -> (Int, Int) -> [(Int, Int)] Source #
The face of Plc starting at e (one-indexed edges).
g6_planarg :: [String] -> IO ByteString Source #
Run "nauty-planarg" to convert (if possible) a set of G6 graphs to Planar-Code.