#15753: Add BasisExchangeMatroid.isomorphism()
-------------------------------------+-------------------------------------
       Reporter:  Rudi               |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  minor              |    Milestone:  sage-6.4
      Component:  matroid theory     |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Rudi Pendavingh    |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/Rudi/ticket/15753                |  c6edefd889cf9331b43e0ac30a6cad45d41ebf42
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by Rudi):

 Replying to [comment:19 Stefan]:
 > Two minor comments and a question:
 >
 > * In BasisExchangeMatroid._is_isomorphic you changed four lines in the
 EXAMPLES section to remove BasisMatroid conversions. While today that
 doesn't matter, I would prefer to keep those to ensure that this file's
 version of the isomorphism test gets used, instead of some subclass's
 file.
 >
 To make sure that this file's version of the isomorphism test eventually
 gets used (and in particular, not BasisMatroid._is_isomorphic), I put back
 the BasisMatroid conversions for just one of each pair of matroids.


 > * In Matroid._isomorphism you didn't indent the EXAMPLES block.

 I did so now.


 > One remark though: in Sage's graph class, there is a fairly common idiom
 to have an option in the test methods of the form
 `certificate=True/False`. When set to True, the function returns `(True,
 f)` if an isomorphism f is found, and `(False, )` otherwise. I'm not
 saying we should follow this here (isomorphism is important enough to be
 its own function), but we may want to consider it for other test methods.

 I'll keep it in mind.
 ----
 New commits:
 
||[http://git.sagemath.org/sage.git/commit/?id=c6edefd889cf9331b43e0ac30a6cad45d41ebf42
 c6edefd]||{{{Doctest fixes}}}||
 ----
 New commits:
 
||[http://git.sagemath.org/sage.git/commit/?id=c6edefd889cf9331b43e0ac30a6cad45d41ebf42
 c6edefd]||{{{Doctest fixes}}}||

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