#13546: Bug in is_perfect
-------------------------------------------+--------------------------------
Reporter: azi | Owner: jason, ncohen, rlm
Type: defect | Status: needs_review
Priority: critical | Milestone: sage-5.7
Component: graph theory | Resolution:
Keywords: is_perfect,graph theory | Work issues:
Report Upstream: N/A | Reviewers: Jernej Azarija,
Sébastien Labbé
Authors: Nathann Cohen | Merged in:
Dependencies: #8952 | Stopgaps:
-------------------------------------------+--------------------------------
Comment (by ncohen):
The question is this : if you have a graph and add the same edge twice, do
you necessarily want your graph to have it twice or did you just add it
twice by mistake ? Currently, in Sage :
{{{
sage: g = Graph()
sage: g.add_edge(0,1)
sage: g.add_edge(0,1)
sage: g.add_edge(0,1)
sage: g.size()
1
sage: g.edges()
[(0, 1, None)]
}}}
If we were to change this way of doing, then that graph would have
multiple edges, while at the moment you would have to insist on allowing
multiple edges if you want.
Nathann
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13546#comment:28>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.