#9073: Handle multigraphs better in planarity
----------------------------+-----------------------------------------------
   Reporter:  boothby       |       Owner:  jason, ncohen, rlm
       Type:  defect        |      Status:  needs_work        
   Priority:  minor         |   Milestone:  sage-4.4.4        
  Component:  graph theory  |    Keywords:                    
     Author:                |    Upstream:  N/A               
   Reviewer:                |      Merged:                    
Work_issues:                |  
----------------------------+-----------------------------------------------
Changes (by boothby):

  * status:  positive_review => needs_work


Comment:

 oops, jumped the gun.  we need to check for loops, too.

 {{{
 sage: G = Graph(loops=True)
 sage: G.add_edge(0,0)
 sage: G.add_edge(1,0)
 sage: G.is_planar(set_embedding=True)
 sage: G.get_embedding()
 Traceback (click to the left of this block for traceback)
 ...
 Exception: Looped graph on 2 vertices has been modified and the
 embedding is no longer valid.
 }}}

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