#15864: Graph.is_distance_regular is awfully wrong
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:
  ncohen                 |       Status:  needs_review
           Type:         |    Milestone:  sage-6.2
  defect                 |   Resolution:
       Priority:  major  |    Merged in:
      Component:  graph  |    Reviewers:
  theory                 |  Work issues:
       Keywords:         |       Commit:
        Authors:         |  f6541444499809d3af167c9a3632baa98449b0f2
  Nathann Cohen          |     Stopgaps:
Report Upstream:  N/A    |
         Branch:         |
  u/ncohen/15864         |
   Dependencies:         |
-------------------------+-------------------------------------------------

Comment (by dimpase):

 IMHO
 {{{
 sage: g.is_distance_regular(parameters = True)
 }}}
 is terribly confusing to the user. Indeed, ```is_distance_regular``` is
 meant to return True or False, just like any other ```is_blahbla``` member
 functions are. There should be a member function named something like
 ```distance_regularity_parameters``` which would return the parameters
 (what it returns for a non-distance-regular graph, is open to discussion -
 e.g. it can even return lists of all the different values, or empty
 entries for the values which are not-constant.

--
Ticket URL: <http://trac.sagemath.org/ticket/15864#comment:3>
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/groups/opt_out.

Reply via email to