
On Tue, 20 Mar 2012, Frank Birbacher wrote:
-----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?
There's an unofficial function_property_map that has been posted on the Boost-users list, such as at http://comments.gmane.org/gmane.comp.lib.boost.user/54397; it really should be put into Boost proper but hasn't yet. -- Jeremiah Willcock