
25 Oct
2013
25 Oct
'13
2:43 p.m.
(snip)
////////////////////////////////////////////////////////////////////////// /// types typedef VertexData VertexProps; ///< custom vertex properties typedef boost::property<boost::edge_index_t, int, boost::property<boost::edge_bundle_t, EdgeData> > EdgeProps; ///< custom edge properties typedef boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, VertexProps, EdgeProps> Type; ///< custom graph type
Instead of using boost::property<boost::edge_bundle_t, EdgeData>, just use EdgeData. edge_bundle_t is a built-in property map that should not be defined as a user property type. -- Jeremiah Willcock