11 Sep
2009
11 Sep
'09
1:24 p.m.
Hi there, I am reading the following documentation: http://www.boost.org/doc/libs/1_40_0/libs/graph/doc/bundles.html I found the following test: libs/graph/test/bundled_properties.cpp, but I still do not understand how I can define a graph with heterogeneous vertex type. Could someone please let me know how to do that ? I tried the following two approaches: typedef adjacency_list < listS, vecS, directedS, boost::any
graph_type;
and struct Fruit { virtual ~Fruit() {} }; typedef adjacency_list < listS, vecS, directedS, Fruit*
graph_type;
But I when retrieving the vertex I always get a boost::detail::error_property_not_found Thanks -- Mathieu