1 Sep 02:34
subgraph and bundled properties
Sam Peterson <peabodyenator <at> gmail.com>
2007-09-01 00:34:06 GMT
2007-09-01 00:34:06 GMT
According to the release notes of version 1.33, bundled properties are
now supposed to work with the subgraph adapter. I am currently using
1.34 However, I'm receiving a compiler error that I never was before
I tried to switch to the subgraph adapter:
graph.cpp:569: instantiated from here
boost_1_34_1/boost/graph/properties.hpp:355: error: no type named
'vertex_bundled' in 'class boost::subgraph<boos\
t::adjacency_list<boost::setS, boost::vecS, boost::bidirectionalS,
Paper, boost::property<boost::edge_index_t, lo\
ng unsigned int, boost::no_property>, boost::no_property, boost::listS> >'
The line in question looks like this:
put(&Paper::authors, *g,
index_map.index_map[atoi(current_paper_id->c_str())], name_index);
My bundled properties and graph typdefs look like this:
struct Paper
{
unsigned int paper_id;
std::string title;
std::vector<std::size_t> authors;
std::string subject;
std::string description;
std::string publisher;
std::string date_of_paper;
std::string format;
std::string identifier;
(Continue reading)
Thank you Nicola. You're DA MAN. I'll update the
website now.
Regards,
RSS Feed