#13813: Fix bug in chessboard graphs generator
---------------------------------+------------------------------------------
       Reporter:  dcoudert       |         Owner:  jason, ncohen, rlm
           Type:  defect         |        Status:  needs_review      
       Priority:  major          |     Milestone:  sage-5.6          
      Component:  graph theory   |    Resolution:                    
       Keywords:                 |   Work issues:                    
Report Upstream:  N/A            |     Reviewers:                    
        Authors:  David Coudert  |     Merged in:                    
   Dependencies:                 |      Stopgaps:                    
---------------------------------+------------------------------------------
Changes (by dcoudert):

 * cc: sluther, ncohen (added)
  * status:  new => needs_review


Old description:

> We should normally have:
> * The BishopGraph([d1,d2],radius=r) is isomorphic to the graph obtained
> merging the edges of the KnightGraphs([d1,d2],one=i,two=i) for 1<= i <=
> r.
> * The QueenGraph([d1,d2],radius=r) is isomorphic to the graph obtained
> merging the edges of a RookGraph([d1,d2,radius=r) and a
> BishopGraph([d1,d2],radius=r)
>
> With current implementation, the result was sometimes incorrect. This
> patch solves this issue and adds necessary tests.

New description:

 We should normally have:
 * The BishopGraph([d1,d2],radius=r) is isomorphic to the graph obtained
 merging the edges of the KnightGraphs([d1,d2],one=i,two=i) for 1<= i <= r.
 * The QueenGraph([d1,d2],radius=r) is isomorphic to the graph obtained
 merging the edges of a RookGraph([d1,d2,radius=r) and a
 BishopGraph([d1,d2],radius=r)

 With current implementation, the result was sometimes incorrect. This
 patch solves this issue and adds necessary doctests.

--

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