#20061: Add method for finding all perfect matchings to Graph
-------------------------------------+-------------------------------------
       Reporter:  egunawan           |        Owner:
           Type:  enhancement        |       Status:  needs_info
       Priority:  major              |    Milestone:  sage-7.1
      Component:  graph theory       |   Resolution:
       Keywords:  perfect matching,  |    Merged in:
  graph                              |    Reviewers:
        Authors:                     |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:  u/egunawan/20061   |  37e077afe84f151ef2772d8f560bc547e76f51f5
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by ncohen):

 * status:  needs_review => needs_info


Comment:

 Hello again,

 Several comments:

 - You *can* (if you prefer) exchange a '\' character at the end of the
 line against parentheses, e.g.
 {{{
 sage: (1+
 ....: 1)
 2
 }}}

 - Instead of `if labels` you can simplify your code by doing this:
 {{{
 #!diff
 -for e in self.edges_incident(v):
 +for e in self.edges_incident(v,labels=labels):
 }}}

 - Did you reach a decision about the subcall to `.matching()`?

 Nathann

--
Ticket URL: <http://trac.sagemath.org/ticket/20061#comment:14>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to