Hello,

After reading the doc string of "is_isomorphic" I thought that for two
edge-labelled graphs g,h, g.is_isomorphic(h, edge_labels=True) would be
true exactly when there is a label preserving isomorphism between the two
graphs.  However:

  sage: foo.edges()
  [(0, 1, 2), (0, 2, 1), (2, 3, 3)]
  sage: bar.edges()
  [(0, 1, 1), (0, 2, 2), (2, 3, 3)]
  sage: bar.is_isomorphic(foo, edge_labels = True)
  True

So what is the effect of "edge_labels = True"?  Or is this a bug?  Is
there a way in sage to check whether two edge-labelled trees are
isomorphic?

TIA,
Nikos




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

Reply via email to