#8421: Change BipartiteGraph .left and .right to sets
----------------------------+-----------------------------------------------
   Reporter:  rhinton       |       Owner:  rlm                             
       Type:  defect        |      Status:  new                             
   Priority:  major         |   Milestone:  sage-4.3.4                      
  Component:  graph theory  |    Keywords:  BipartiteGraph, partitions, sets
     Author:  Ryan Hinton   |    Upstream:  N/A                             
   Reviewer:                |      Merged:                                  
Work_issues:                |  
----------------------------+-----------------------------------------------
 The documentation describes the 'left' and 'right' attributes of
 BipartiteGrpah as sets.  And deleting vertices is much more efficient if
 they are.  But they are currently stored as lists.
 {{{
 sage: bg = BipartiteGraph(graphs.CycleGraph(4))
 sage: bg.left
 [0, 2]
 }}}

 Of course, it's easy to change from one to the other.  But we will get
 better performance from sets.

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