#8329: Missing copy() method in BipartiteGraph
----------------------------+-----------------------------------------------
   Reporter:  rhinton       |       Owner:  rhinton       
       Type:  defect        |      Status:  new           
   Priority:  major         |   Milestone:  sage-4.3.4    
  Component:  graph theory  |    Keywords:  BipartiteGraph
     Author:                |    Upstream:  N/A           
   Reviewer:                |      Merged:                
Work_issues:                |  
----------------------------+-----------------------------------------------
 BipartiteGraph is missing a copy() method.

 {{{
 sage: bg = BipartiteGraph(graphs.CycleGraph(4))
 sage: type(bg)
 <class 'sage.graphs.bipartite_graph.BipartiteGraph'>
 sage: bg2 = bg.copy()
 sage: type(bg2)
 <class 'sage.graphs.graph.Graph'>
 }}}

 The result is not horrendous because the base Graph class has a copy()
 method.  But the result is unexpected: copy() a BipartiteGraph and you get
 a Graph?

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