#19586: Add is_cayley_graph
-------------------------------------+-------------------------------------
       Reporter:  jaanos             |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.10
      Component:  graph theory       |   Resolution:
       Keywords:  Cayley graphs      |    Merged in:
  groups                             |    Reviewers:
        Authors:  Janoš Vidali       |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  4aaf3014fee5bb08d861636908d6733047d4a869
  u/jaanos/add_is_cayley_graph       |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by dimpase):

 Replying to [comment:39 jaanos]:
 > Perhaps I was not being precise enough: I was talking about the
 generating set of the Cayley graph, not about the generators of the group.


 well, how about having a proper `digraphs.CayleyGraph()` constructor?
 (one can use GRAPE package of GAP, which is going to be re-released under
 GPL)
 e.g.
 {{{
 gap> LoadPackage("grape");
 true
 gap> C:=CayleyGraph(SymmetricGroup(4),[(1,2),(2,3),(3,4)]);
 rec( adjacencies := [ [ 2, 3, 7 ] ], group := Group([
 (1,10,17,19)(2,9,18,20)(3,12,14,21)(4,11,13,22)
   (5,7,16,23)(6,8,15,24),
 (1,7)(2,8)(3,9)(4,10)(5,11)(6,12)(13,15)(14,16)(17,18)(19,21)(20,22)
   (23,24) ]), isGraph := true, isSimple := true,
   names := [ (), (3,4), (2,3), (2,3,4), (2,4,3), (2,4), (1,2), (1,2)(3,4),
 (1,2,3), (1,2,3,4),
       (1,2,4,3), (1,2,4), (1,3,2), (1,3,4,2), (1,3), (1,3,4), (1,3)(2,4),
 (1,3,2,4), (1,4,3,2),
       (1,4,2), (1,4,3), (1,4), (1,4,2,3), (1,4)(2,3) ], order := 24,
 representatives := [ 1 ],
   schreierVector := [ -1, 1, 1, 2, 2, 1, 2, 2, 2, 1, 1, 1, 1, 2, 2, 1, 1,
 2, 1, 1, 2, 2, 1, 2 ] )
 gap>
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/19586#comment:40>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to