#10054: Provide an alphabet to the parent of any generated word
-----------------------------+----------------------------------------------
   Reporter:  tmonteil       |       Owner:  sage-combinat
       Type:  defect         |      Status:  new          
   Priority:  major          |   Milestone:  sage-4.6     
  Component:  combinatorics  |    Keywords:               
     Author:                 |    Upstream:  N/A          
   Reviewer:                 |      Merged:               
Work_issues:                 |  
-----------------------------+----------------------------------------------
 The current situation is not uniform, some word generators provide an
 alphabet to their parent, some other do not. Currently, the policy can be
 different even for close word generators:

 {{{
 sage: words.LowerMechanicalWord(1/sqrt(2)).parent()
 Words
 sage: words.CharacteristicSturmianWord(1/sqrt(2)).parent()
 Words over Ordered Alphabet [0, 1]
 }}}

 There should be an overall policy (to be discussed in the community).

 My point of view is that we should provide a default alphabet each time we
 know it a priori, so that accessing this info will take a constant time,
 otherwise the user will sometimes have to use a parsing function that will
 take a linear time.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10054>
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.

Reply via email to