#12155: Bug when taking complement of bipartite graph.
----------------------------+-----------------------------------------------
   Reporter:  fidelbarrera  |          Owner:  jason, ncohen, rlm   
       Type:  defect        |         Status:  needs_review         
   Priority:  major         |      Milestone:  sage-5.0             
  Component:  graph theory  |       Keywords:  bipartite, complement
Work_issues:                |       Upstream:  N/A                  
   Reviewer:                |         Author:                       
     Merged:                |   Dependencies:                       
----------------------------+-----------------------------------------------
Changes (by ncohen):

 * cc: jason (added)
  * status:  new => needs_review


Old description:

> Quick description:
>
> {{{
> sage: g=graphs.CompleteBipartiteGraph(3,3)
> sage: g.complement()
> ...
> RuntimeError: Edge vertices must lie in different partitions.
> }}}
>
> For more details please see discussion at
>
> http://groups.google.com/group/sage-
> devel/browse_thread/thread/9fc4c6bfa8d005b3

New description:

 Quick description:

 {{{
 sage: g=graphs.CompleteBipartiteGraph(3,3)
 sage: g.complement()
 ...
 RuntimeError: Edge vertices must lie in different partitions.
 }}}

 For more details please see discussion at

 http://groups.google.com/group/sage-
 devel/browse_thread/thread/9fc4c6bfa8d005b3

 Apply:
     * [attachment:trac_12155.patch]

--

Comment:

 Fixing the problem by ensuring that no instances of BipartiteGraph are
 returned by the graph generators.

 https://groups.google.com/d/topic/sage-devel/n8TGv6jQBbM/discussion

 Nathann

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