| 55 | // Make G unweighted |
| 56 | bool has_node_weights = false; |
| 57 | forall_nodes(G, node) { |
| 58 | if (G.getNodeWeight(node) != 1) { |
| 59 | has_node_weights = true; |
| 60 | } |
| 61 | G.setNodeWeight(node, 1); |
| 62 | } endfor |
| 63 | if (has_node_weights) { |
| 64 | std::cout << "There were nodes with weight != 1" << std::endl; |
| 65 | } |
nothing calls this directly
no test coverage detected