#15706: Graph built from their edges are simple by default
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:
  ncohen                 |       Status:  needs_review
           Type:         |    Milestone:  sage-6.4
  enhancement            |   Resolution:
       Priority:  major  |    Merged in:
      Component:  graph  |    Reviewers:
  theory                 |  Work issues:
       Keywords:         |       Commit:
        Authors:         |  f6087ffcf2370bdfe45a1162c7d7106c9829ad5c
  Nathann Cohen          |     Stopgaps:
Report Upstream:  N/A    |
         Branch:         |
  u/ncohen/15706         |
   Dependencies:         |
  #15704                 |
-------------------------+-------------------------------------------------

Comment (by ncohen):

 Hello !

 > Well, I don't consider no one cares when it's only on a ticket.  Only
 the seriously obsessed (like me?) just look at random tickets without
 invitation ;-)  And stuff that is actually important often languishes for
 years.

 Hmmm... `:-P`

 > I think the problem is that while some people like me are lazy and will
 put in double edges but don't mean it, the most likely thing when people
 put in extra edges is that they want them.

 True, but I really worry of those who create many graphs, most of which
 have multiple edges, and all of a sudden create one from data which (by
 chance) corresponds to a simple graph. There is a danger of wrong results
 later on.

 > I don't feel competent to resolve this question - and definitely not
 ''all'' graph things assume all are simple.

 ?

 Well no, we have stuff that works for both, and stuff that works for
 simple graphs.. "recently" I added a function called "scream if not
 simple" that is used in several places in the graph code, as really some
 functions that should not be called on non-simple graphs were not checked
 at all. It is a bit better, but this constructor thing remains a problem,
 especially when the behaviour of the constructor and the behaviour of
 `add_edge` is not the same.

 Nathann

--
Ticket URL: <http://trac.sagemath.org/ticket/15706#comment:21>
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.

Reply via email to