| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Data.DAWG.Int.Dynamic
Description
The module implements directed acyclic word graphs (DAWGs) internaly represented as minimal acyclic deterministic finite-state automata. The implementation provides fast insert and delete operations which can be used to build the DAWG structure incrementaly.
- data DAWG a
- member :: Enum a => [a] -> DAWG a -> Bool
- numStates :: DAWG a -> Int
- numEdges :: DAWG a -> Int
- accept :: ID -> DAWG a -> Bool
- edges :: Enum a => ID -> DAWG a -> [(a, ID)]
- follow :: Enum a => ID -> a -> DAWG a -> Maybe ID
- empty :: DAWG a
- fromList :: Enum a => [[a]] -> DAWG a
- insert :: Enum a => [a] -> DAWG a -> DAWG a
- keys :: Enum a => DAWG a -> [[a]]