kawu / dawg

Directed acyclic word graphs
BSD 2-Clause "Simplified" License
11 stars 1 forks source link

Node type class #18

Closed kawu closed 11 years ago

kawu commented 11 years ago

Abstract node operations with a type class. This modification will allow to use the dynamic automata version with different node implementations. In particular, user will be able to decide whether the speed is more important (and use IntMap for adjacency vectors' representation) or memory (vector containers).

kawu commented 11 years ago

I have abstracted transition map operations instead. Since transition map is a part of the node structure, this solution is simpler and more to the point.