Where are the comparison operators for graphs implemented? I can find ``__eq__`` in graphs/generic_graph.py, but I can't find any others.
I haven't opened a ticket yet for the following behavior because I am not sure where the problem is. The current status is some new math! At the moment, I see the following. (The following sometimes works, sometimes needs fiddling with order of creation or which graphs get a vertex.) sage: g1 = Graph() sage: g1.add_vertex(0) sage: g2 = Graph() sage: g3 = Graph() sage: g3.add_vertex(0) sage: g1 == g3 True sage: g1 == g2 False sage: g1 < g2 False sage: g3 < g2 True So we have two equal graphs that compare on either side of a third graph! Thanks! - Ryan -- 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