生成具有命名顶点的随机图

时间:2010-11-23 16:12:54

标签: c++ boost named boost-graph vertices

我是新手,我正在尝试构建由erdos算法生成的分布式随机图。一切顺利,因为我专门使用internal_vertex_name模板来处理the doc中建议的命名顶点。

您可以找到code here

我收到很多编译错误,如:

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<boost::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*’

有什么建议吗?

0 个答案:

没有答案
相关问题