我是新手,我正在尝试建立一个由 erdos 算法生成的分布式随机图。一切顺利,因为我将 internal_vertex_name 模板专门用于处理文档中建议的命名顶点。
你可以在这里找到代码。
我收到很多编译错误,例如:
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*’
有什么建议吗?