7 Jun
2011
7 Jun
'11
7:57 p.m.
I tried to modify this example: http://www.boost.org/doc/libs/1_34_0/libs/graph/example/dijkstra-example.cpp to create the graph in a clearer fashion: http://codepad.org/DDKs45oe However, I now get compiler errors inside dijkstra_shortest_paths.hpp Can anyone see where I have gone wrong?
The example assumes that vertices are stored in a vector,so that the vertex_descriptor type is unsigned int. This compiles for me: http://codepad.org/7lFgHka9 can't really say much more... Anders