Boost logo

Boost Users :

From: Michael Kettner (kettner_at_[hidden])
Date: 2002-07-14 07:16:54


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Jeremy,

On Friday 12 July 2002 20:17, Jeremy Siek wrote:
> Yeah, dijkstra_shortest_paths requires a vertex_index property map, which
> is by default obtained from the graph. You need to add vertex_index_t as a
> internal vertex property for your graph and initialize it with appropriate
> integers.

Must the integers I provide be in the range [0,|V|)?

My code still fails to compile, the error messages i get are always like:

/boost/graph/dijkstra_shortest_paths.hpp:199:
 passing `void *' to argument 2 of `put<void *, void *>(void **, int, void
*const &)' lacks a cast

or

/boost/graph/relax.hpp:74: passing `void *' to argument 2 of `put<void *, void
*>(void **, int, void *const &)' lacks a cast

To give me (and all the others having the same problem) a hint: Could you
please explain how to change the "dijkstra-example.cpp" from boost_1_28_0 to
compile with "listS" as VertexIndex template?

Thanks in advance,

Michael

- --
http://www.ive.uni-hannover.de # kettner_at_[hidden]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9MWu2kCdGnb0kVFMRAt1TAJ4ywNuP8aiwtYSBtoHcM6ZpOHM17QCaA708
EJy1n2o/4c/CsWSoOvOV/p4=
=a/gO
-----END PGP SIGNATURE-----


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