Re: [boost] Errors in Boost.Graph's topological_sort

2003-01-29 Thread Jeremy Siek
Hi Christoph, The problem with your example is that you forgot to initialize the vertex_index property for each vertex. Perhaps you thought that the adjacency_list would do this for you. However, this is not the case when using VertexList=listS. I know this is confusing, but it is stated in the do

[boost] Errors in Boost.Graph's topological_sort

2002-12-18 Thread Christoph Kögl
Hi there, I am using 1.29.0 on a Linux PC running Mandrake 8.1, and I am using gcc-2.96 (GNU CPP version 2.96 2731 (Mandrake Linux 8.1 2.96-0.62mdk). See the following code. Topological sort has all sorts of problems with directed graphs (using adjacency lists) having two vertices and a singl