#15706: Graph built from their edges are simple by default
-------------------------------------+-------------------------------------
Reporter: ncohen | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.4
Component: graph theory | Resolution:
Keywords: | Merged in:
Authors: Nathann Cohen | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
public/ticket/15706 | 321f51f489b3dd53f8cfe780e710d2d2f0cb4df3
Dependencies: #15704 | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by kcrisman):
* cc: dimpase (added)
Comment:
> > Is there at least an error thrown?
> I don't understand what you are talking about,
I said that when I thought it was impossible to convert to multigraphs.
That said, this current behavior you mention is troubling.
{{{
sage: g = Graph([(0,1)])
sage: g.edges()
[(0, 1, None)]
sage: g.add_edge(0,1)
sage: g.edges()
[(0, 1, None)]
}}}
Ideally, this should raise a warning (once per session, like a
deprecation) that you should change to a multigraph, and after the
deprecation period it would still raise the warning but now ''force'' it
to be a multigraph.
As I mentioned before, I'm not a heavy graph theory user (though I do use
it) so I think would be better to at least see whether any opinions
existed on sage-devel - cc:ing one person who may have an opinion (?).
--
Ticket URL: <http://trac.sagemath.org/ticket/15706#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.
For more options, visit https://groups.google.com/d/optout.