Dear Sage developers, Firstly, thanks for the great and beautiful system that is joy to work and play with.
While trying to model deterministic finite automata over Sage (multi-)graphs, I've run into the following: paths are represented as lists of vertices, regardless of edges. Superficial investigation shows that both sage.graph and networkx are somewhat grounded on this notion of path. But! For finite automata and other word-accepting machines to be correctly represented paths should be considered as sequences of labeled edges, not vertices, as far as two vertices may be connected by differently labeled edges, and that is essential. Generally speaking, we plan to represent finite, pushdown and a new generalization of pushdown automata (D-Graphs) over Sage graphs, leveraging existing machinery. Long-term goal is to work towards a general and consistent library of formal language constructs, such as automata, grammars and so forth. Recent merge of Words seems to be of support. Looking for thoughts and advice, Thanks in advance, --Pavel Sutyrin, of Algorithmic languages subdepartment, Computer Science department, Moscow State University, Moscow, Russia (http://www.cs.msu.su) --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---