MCPcopy Create free account
hub / github.com/KaHIP/KaHIP / construct_identity

Method construct_identity

lib/mapping/construct_mapping.cpp:371–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369}
370
371void 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
377void construct_mapping::construct_random( PartitionConfig & config, graph_access & C, matrix & D, std::vector< NodeID > & perm_rank) {
378 construct_identity( config, C, D, perm_rank);

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected