#17464: Computing the automorphism group of a graph
-------------------------+-------------------------------------------------
       Reporter:  azi    |        Owner:
           Type:         |       Status:  needs_info
  enhancement            |    Milestone:  sage-6.5
       Priority:  major  |   Resolution:
      Component:  graph  |    Merged in:
  theory                 |    Reviewers:
       Keywords:         |  Work issues:
        Authors:         |       Commit:
Report Upstream:  N/A    |  f8e2618b7b644a6bee364379405485a5c8468418
         Branch:         |     Stopgaps:
  public/bliss           |
   Dependencies:         |
-------------------------+-------------------------------------------------

Comment (by azi):

 The speedup looks promising. Just a quick preview :

 {{{
 sage: G = graphs.CubeGraph(4)
 sage: %timeit automorphism_group_bliss(G)
 1000 loops, best of 3: 885 µs per loop
 sage: %timeit G.automorphism_group()
 1000 loops, best of 3: 1.31 ms per loop
 }}}

 {{{
 sage: G = graphs.GeneralizedPetersenGraph(250,2)
 sage: %timeit automorphism_group_bliss(G)
 100 loops, best of 3: 7.21 ms per loop
 sage: %timeit G.automorphism_group()
 10 loops, best of 3: 45.8 ms per loop
 }}}

 {{{
 sage: G.order()
 sage: 9369
 sage: t1 = time() ; A = automorphism_group_bliss(G); t2 = time()
 sage: t2-t1
 37.43013310432434
 sage: t1 = time() ; A = G.automorphism_group(); t2 = time() # uses 50% of
 RAM
 sage: t2-t1
 624.5415680408478
 }}}

 Asymmetric graphs:

 {{{
 sage: G = graphs.RandomGNP(500,0.8)
 sage: %timeit G.automorphism_group()
 1 loops, best of 3: 499 ms per loop
 sage: %timeit automorphism_group_bliss(G)
 10 loops, best of 3: 163 ms per loop

 sage: G = graphs.RandomGNP(3300, 0.1)
 sage: %timeit automorphism_group_bliss(G)
 1 loops, best of 3: 923 ms per loop
 sage: %timeit G.automorphism_group()
 1 loops, best of 3: 6.49 s per loop

 }}}

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