| 369 | } |
| 370 | |
| 371 | void construct_mapping::construct_identity( PartitionConfig & config, graph_access & C, matrix & D, std::vector< NodeID > & perm_rank) { |
| 372 | for( unsigned int i = 0; i < perm_rank.size(); i++) { |
| 373 | perm_rank[i] = i; |
| 374 | } |
| 375 | } |
| 376 | |
| 377 | void construct_mapping::construct_random( PartitionConfig & config, graph_access & C, matrix & D, std::vector< NodeID > & perm_rank) { |
| 378 | construct_identity( config, C, D, perm_rank); |