#9136: more named graphs
----------------------------+-----------------------------------------------
   Reporter:  mvngu         |       Owner:  jason, ncohen, rlm
       Type:  enhancement   |      Status:  new               
   Priority:  major         |   Milestone:  sage-wishlist     
  Component:  graph theory  |    Keywords:                    
     Author:                |    Upstream:  N/A               
   Reviewer:                |      Merged:                    
Work_issues:                |  
----------------------------+-----------------------------------------------

Comment(by dimpase):

 Replying to [comment:7 dimpase]:
 > Many of these graphs can be trivially generated in GAP using its package
 Grape (a part of the optional gap_packages spkg) and
 > a library of primitive groups (a part of optional databases_gap spkg).

 actually, Grape isn't even needed (I mentioned it for illustrative
 purposes): to construct the Sage graph,
 all you need is the following:

 {{{
 sage: edges=gap('Orbit(PrimitiveGroup(27,12),[1,2],OnSets)')
 sage: schlaefli=Graph([[int(x[1])-1,int(x[2])-1] for x in edges])
 }}}

 PS. To get e.g. Hall-Janko graph, use {{{PrimitiveGroup(100,1)}}}...

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9136#comment:8>
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