Boost logo

Boost Users :

Subject: [Boost-users] Dijkstra example
From: David Doria (daviddoria_at_[hidden])
Date: 2011-06-06 18:32:33

I tried to modify this example:

to create the graph in a clearer fashion:

However, I now get compiler errors inside dijkstra_shortest_paths.hpp

Can anyone see where I have gone wrong?

Also, I don't really understand the "distances and parents" output - I
just want to know the shortest path between two vertices. In fact I
don't even see the start and end vertices specified in the original



Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at