On 2011-07-08 15:09, Vincent D wrote:
> {{{
> sage: G1 = DiGraph(loops=True,multiedges=True)
> sage: G1.add_edges([
> ...    (0, 0, 'c'), (0, 4, 'b'), (0, 5, 'c'), (0, 5, 't'), (1, 1,
> 'c'),
> ...    (1, 3,'c'), (1, 3, 't'), (1, 5, 'b'), (2, 2, 'c'), (2, 3,
> 'b'),
> ...    (2, 4, 'c'),(2, 4, 't'), (3, 1, 't'), (3, 2, 'b'), (3, 2,
> 'c'),
> ...    (3, 4, 'c'), (4, 0,'b'), (4, 0, 'c'), (4, 2, 't'), (4, 5, 'c'),
> ...    (5, 0, 't'), (5, 1, 'b'),(5, 1, 'c'), (5, 3, 'c')])
> sage: G2 = G1.relabel(perm={0:4,1:5,2:3,3:2,5:0},inplace=False)
> sage: G1.is_isomorphic(G2,edge_labels=True)
> False
> }}}

How did you get simply "False"?  I always get (False, False) on the last
line, with sage-4.6, sage-4.6.2, sage-4.7 and sage-4.7.1.alpha3.

Jeroen.

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to