#8913: S.cayley_graph(side = "twosided") returns broken labels
---------------------------------+------------------------------------------
   Reporter:  nthiery            |       Owner:  nthiery   
       Type:  defect             |      Status:  new       
   Priority:  major              |   Milestone:  sage-4.4.2
  Component:  algebra            |    Keywords:            
     Author:  Nicolas M. ThiƩry  |    Upstream:  N/A       
   Reviewer:                     |      Merged:            
Work_issues:                     |  
---------------------------------+------------------------------------------
 This patch reinstates appropriate labeling of the edges for two sided
 cayley graphs::
 {{{
    sage: S = FiniteSemigroups().example(alphabet=('a','b'))
    sage: g = S.cayley_graph(side="twosided")
    sage: g.edges()
    [('a', 'a', (0, 'left')), ('a', 'a', (0, 'right')), ('a', 'ab', (1,
 'right')), ('a', 'ba', (1, 'left')), ('ab', 'ab', (0, 'left')), ('ab',
 'ab', (0, 'right')), ('ab', 'ab', (1, 'right')), ('ab', 'ba', (1,
 'left')), ('b', 'ab', (0, 'left')), ('b', 'b', (1, 'left')), ('b', 'b',
 (1, 'right')), ('b', 'ba', (0, 'right')), ('ba', 'ab', (0, 'left')),
 ('ba', 'ba', (0, 'right')), ('ba', 'ba', (1, 'left')), ('ba', 'ba', (1,
 'right'))]
 }}}

 This was inadvertently broken by #8044 which discarded the `left` /
 `right` info.

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