Boost logo

Boost Users :

Subject: Re: [Boost-users] Dijkstra example
From: Anders Wallin (anders.e.e.wallin_at_[hidden])
Date: 2011-06-07 15:57:03


> 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


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