Я новичок в повышении и пытаюсь построить распределенный случайный граф, сгенерированный алгоритмом 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*’
Есть предложения?