#12225: Finite and lazy factorial languages
-----------------------------+----------------------------------------------
Reporter: vdelecroix | Owner: vdelecroix
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.8
Component: combinatorics | Keywords: word, factorial language,
symbolic dynamics
Work_issues: | Upstream: N/A
Reviewer: | Author: Vincent Delecroix
Merged: | Dependencies: #12224
-----------------------------+----------------------------------------------
Comment(by vdelecroix):
Hi Sebastien,
> Nice ticket!
Thanks! It now needs work!
> Related to this, I want to add that I want to remove the class and the
file `nfactor_enumerable_word` from Sage. Currently, only Finite Word
class inherits from it. So it would be easy to fix by just moving the
methods to the Finite Word class. I am sorry for having introduced this
class into Sage : it was an error. This job must be done inside of the
appropriate Language class... I still haven't created the ticket for it,
but I definitively will.
I have some patch almost ready for it. It is just an update of suffix_trie
into a prefix_suffix_trie. The data structure I used is perhaps not
optimal (many dictionnaries that points toward other dictionnaries). It
would be very nice to have a low-level implementation as the one used in
Graph as well as a sparse and a dense version (certainly another ticket).
Before submitting a patch, I want to fix #12224 (Use Parent/Element and
GradedEnumeratedSets for Language).
I have a questions for you : do we remove suffix_trie and use this new
class instead ? (I made some timings and it seems that mine is twice
slower, which is not so good or not so bad) Anyway, if yes, it is for
another ticket.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12225#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.