#17225: Degrees of looped *immutable* graphs are wrong
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:
  kcrisman               |       Status:  needs_review
           Type:         |    Milestone:  sage-6.4
  defect                 |   Resolution:
       Priority:  major  |    Merged in:
      Component:  graph  |    Reviewers:
  theory                 |  Work issues:
       Keywords:         |       Commit:
        Authors:         |  58cf24722664d1b299ab4de934455579125e3326
  Nathann Cohen          |     Stopgaps:
Report Upstream:  N/A    |
         Branch:         |
  u/ncohen/17225         |
   Dependencies:         |
-------------------------+-------------------------------------------------

Comment (by kcrisman):

 > HMmmmmm... Well, the thing is that it depends on what you want the
 degree to be. If you want the degree of a vertex to be equal to the number
 of edges incident to it, then it is correct.
 >
 > If you want the number of edges to be twice the sum of degrees, then it
 is wrong.

 I mostly want immutable and mutable graphs to have the same behavior.

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