Boost C++ Libraries: Ticket #5121: planar_face_traversal fails miserably on a planar, 3-connected graph https://svn.boost.org/trac10/ticket/5121 <p> Input is the graph of a cube with a triangular prism attached. Output of the traversal is bizarre. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5121 Trac 1.4.3 julian.pfeifle@… Tue, 25 Jan 2011 14:47:33 GMT attachment set https://svn.boost.org/trac10/ticket/5121 https://svn.boost.org/trac10/ticket/5121 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">planar_face_traversal_bug.cc</span> </li> </ul> <p> minimal .cc program to reproduce the bug </p> Ticket expaler Sun, 06 Mar 2011 16:49:00 GMT attachment set https://svn.boost.org/trac10/ticket/5121 https://svn.boost.org/trac10/ticket/5121 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">planar_face_traversal_nab.cc</span> </li> </ul> <p> Modified program that properly initializes the edge index map. </p> Ticket expaler Sun, 06 Mar 2011 16:54:22 GMT <link>https://svn.boost.org/trac10/ticket/5121#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5121#comment:1</guid> <description> <p> The algorithm requires an edge index map that already associates edges with distinct integers. Simply defining an internal edge index map in the adjacency list type is not enough. You must update the edge index map as you add edges to the graph. The planar_face_traversal_nab.cc file shows the fix to your program. The output is now: </p> <p> New face: 1 0 8 9 visitor done. New face: 0 1 7 6 visitor done. New face: 3 2 4 visitor done. New face: 2 3 6 5 visitor done. New face: 4 2 5 7 visitor done. New face: 3 4 9 8 visitor done. New face: 0 6 3 8 visitor done. New face: 5 6 7 visitor done. New face: 7 1 9 4 visitor done. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>expaler</dc:creator> <pubDate>Sun, 06 Mar 2011 16:55:40 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/5121#comment:2 https://svn.boost.org/trac10/ticket/5121#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> Ticket