I'm new to boost and i am trying to build up a distributed random graph generated by the erdos algorithm. All goes well since i specialize the internal_vertex_name template to work with named vertices as suggested in the doc.
You can find the code here.
I get a lot of compilation errors like:
boost/graph/distributed/shuffled_distribution.hpp:62:56: error: ‘const struct boost::graph::distributed::hashed_distribution<std::basic_string<char> >’ has no member named ‘block_size’
error: ‘const struct boost::adjacency_list<boo开发者_如何学编程st::vecS, boost::distributedS<boost::graph::distributed::mpi_process_group, boost::vecS>, boost::directedS, TNode, boost::property<boost::edge_weight_t, int>
>::base_distribution_type’ has no member named ‘local
boost/graph/distributed/adjlist/initialize.hpp:29:5: error: invalid conversion from ‘long unsigned int’ to ‘const char*’
Any suggestion?
精彩评论