#10549: Improvements in canonical_form, is_isomorphic, and
graph_isom_equivalent_non_edge_labeled_graph
-------------------------------+--------------------------------------------
   Reporter:  stumpc5          |       Owner:  jason, ncohen, rlm               
 
       Type:  enhancement      |      Status:  needs_work                       
 
   Priority:  major            |   Milestone:                                   
 
  Component:  graph theory     |    Keywords:  graph, canonical form, 
isomorphism
     Author:  Christian Stump  |    Upstream:  N/A                              
 
   Reviewer:  Robert Miller    |      Merged:                                   
 
Work_issues:                   |  
-------------------------------+--------------------------------------------
Changes (by ncohen):

  * status:  needs_review => needs_work


Comment:

 Hellooooooo !!

 Only two errors in a -testall -long :

 {{{
 #!python
 sage -t -long sage-bug/sage/graphs/generic_graph.py
 **********************************************************************
 File "/home/ncohen/sage/devel/sage-bug/sage/graphs/generic_graph.py", line
 14686:
     sage: G.is_isomorphic(H, edge_labels=True)
 Expected:
     True
 Got:
     False
 **********************************************************************
 File "/home/ncohen/sage/devel/sage-bug/sage/graphs/generic_graph.py", line
 14688:
     sage: G.is_isomorphic(H, edge_labels=True, certify=True)
 Expected:
     {0: 1, 1: 2, 2: 3, 3: 4, 4: 0}
 Got:
     (False, None)
 **********************************************************************
 }}}

 (I'm running the latest alpha1)

 By the way : would you know of a "cheap/elegant" way to deal with this :

 {{{
 #!python
 sage: g = graphs.KneserGraph(8,2)
 sage: h = g.copy()
 sage: %timeit g.is_isomorphic(h)
 125 loops, best of 3: 6.27 ms per loop
 sage: h.relabel()
 sage: %timeit g.is_isomorphic(h)
 125 loops, best of 3: 4.72 ms per loop
 sage: g.relabel()
 sage: %timeit g.is_isomorphic(h)
 125 loops, best of 3: 3.13 ms per loop
 }}}

 Or is it just because of the way labels are handled ?

 Nathann

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