Boost logo

Boost Users :

Subject: Re: [Boost-users] Dijkstra example
From: David Doria (daviddoria_at_[hidden])
Date: 2011-06-07 21:28:36


On Tue, Jun 7, 2011 at 3:57 PM, Anders Wallin
<anders.e.e.wallin_at_[hidden]> wrote:
>> 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?

Thanks all,

Here are some working examples if anyone else is interested:

http://programmingexamples.net/index.php?title=CPP/Boost/BGL/DijkstraDirected
http://programmingexamples.net/index.php?title=CPP/Boost/BGL/DijkstraUndirected
http://programmingexamples.net/index.php?title=CPP/Boost/BGL/DijkstraComputePath

David


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net