#18485: Make function to generate *all* independent sets.
-------------------------------------+-------------------------------------
       Reporter:  Rudi               |        Owner:  Rudi
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.10
      Component:  matroid theory     |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Rudi Pendavingh    |    Reviewers:  Vincent Delecroix,
Report Upstream:  N/A                |  Travis Scrimshaw
         Branch:                     |  Work issues:
  u/Rudi/make_function_to_generate__all__independent_sets_|       Commit:
   Dependencies:                     |  524db1187de6b5759c70597eaedac64bf21a0b10
                                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by tscrim):

 * reviewer:  Vincent Delecroix => Vincent Delecroix, Travis Scrimshaw


Comment:

 In the `independent_sets` of `BasisExchangeMatroid`, is there a reason why
 you have to do all of that extra processing before the empty ground set
 check? Also it is faster to do `if not self._E:`.

 You also have a little bit of whitespace left here:
 {{{
         # <-- Whitespace
         .. SEEALSO::

             :meth:`M.independent_sets()
 <sage.matroids.matroid.Matroid.independent_sets>`
             :meth:`M.bases() <sage.matroids.matroid.Matroid.bases>`
 }}}

 Otherwise I think it looks good.

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