On 3/19/11 7:44 AM, Robert Miller wrote:
Dear Jason,
Jason-- You originally requested this. Why?
It looks like our discussion about why is up at
http://trac.sagemath.org/sage_trac/ticket/729
There is no discussion there-- you simply say it should be that way.
You cite an article, claiming t
Dear Jason,
>> Jason-- You originally requested this. Why?
>
> It looks like our discussion about why is up at
> http://trac.sagemath.org/sage_trac/ticket/729
There is no discussion there-- you simply say it should be that way.
You cite an article, claiming that it states that rich comparison
ope
On 3/18/11 2:38 PM, Robert Miller wrote:
Dear Ryan,
On Thu, Mar 17, 2011 at 8:34 PM, Ryan Hinton wrote:
Where are the comparison operators for graphs implemented? I can find
``__eq__`` in graphs/generic_graph.py, but I can't find any others.
There is also __ne__.
Comparison was implemented
Do networkx graphs have a comparison method? We could imitate that,
if need be.
- kcrisman
On Mar 18, 9:23 am, Niles wrote:
> Well, I'm stumped (not too surprising), but here's what I think after
> a little reading:
>
> * It seems that there is no comparison implemented for graphs,
> anywhere
Well, I'm stumped (not too surprising), but here's what I think after
a little reading:
* It seems that there is no comparison implemented for graphs,
anywhere in sage: Graph inherits from GenericGraph, which inherits
from GenericGraph_pyx, which inherits from SageObject. Functions like
__cmp__