|
Boost Users : |
Subject: [Boost-users] [Property Map] given a function/functor, how to construct readable property map?
From: Frank Birbacher (bloodymir.crap_at_[hidden])
Date: 2012-03-20 15:20:12
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
I have graph structure using custom datatypes. An edge weight can be
calculated by calling some function. I want to call the dag shortest
path algorithm and pass it a property map that uses the function to
compute edge weights on the fly. I consulted the Boost 1.47
documentation for property map. I find identity or std::map adaptors,
but did not find any reference to using functions or functors. Do I
miss anything?
Frank
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: keyserver x-hkp://pool.sks-keyservers.net
iEYEARECAAYFAk9o2GwACgkQhAOUmAZhnmpdAwCfc38fjB2cZC/ZYzv7Y8+GXdTr
IXgAnjoJh5ZKoxFkNTAK5Ye0DeOkuQY0
=8xTO
-----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