#8952: Odd Girth
--------------------------------+-------------------------------------------
       Reporter:  ncohen        |         Owner:  jason, ncohen, rlm
           Type:  enhancement   |        Status:  needs_review      
       Priority:  major         |     Milestone:  sage-5.4          
      Component:  graph theory  |    Resolution:                    
       Keywords:                |   Work issues:                    
Report Upstream:  N/A           |     Reviewers:                    
        Authors:                |     Merged in:                    
   Dependencies:                |      Stopgaps:                    
--------------------------------+-------------------------------------------

Comment (by rbeezer):

 Azi,

 I took a quick look and it looks promising, especially since
 characteristic polynomials are quite fast in Sage.  I can look closer when
 I have a bit more time.

 For now, documentation needs some work.  For example:

 {{{
 Any complete graph on more than 2 vertices contains a triangle and has
 thus odd girth 3

                     G = graphs.CompleteGraph(10)
                     sage: G.odd_girth()
                     3
 }}}

 needs a double colon after the lead-in sentence (all 3 of your verbatim
 blocks need this).  And your line creating the complete graph needs a
 `sage:` preceding it.

 Current documentation style needs "INPUT" and "OUTPUT" blocks - look
 around for examples.  They will be pretty simple in this case.

 You can catch some of these yourself:

 {{{
 sage -b
 sage -docbuild reference html
 }}}

 will rebuild the documentation and you can view the html file for mess-ups
 with the doc string.

 And

 {{{
 sage -t <source file>
 }}}

 will find broken tests.

 Rob

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8952#comment:6>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to