Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
N-Maas committed Sep 7, 2023
1 parent 01445f7 commit 314c74b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 1 addition & 4 deletions mt-kahypar/partition/refinement/fm/fm_commons.h
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,6 @@ struct FMStats {
size_t local_reverts = 0;
size_t task_queue_reinsertions = 0;
size_t best_prefix_mismatch = 0;
size_t rebalancing_node_moves = 0;
Gain estimated_improvement = 0;


Expand All @@ -351,7 +350,6 @@ struct FMStats {
local_reverts = 0;
task_queue_reinsertions = 0;
best_prefix_mismatch = 0;
rebalancing_node_moves = 0;
estimated_improvement = 0;
}

Expand All @@ -363,7 +361,6 @@ struct FMStats {
other.local_reverts += local_reverts;
other.task_queue_reinsertions += task_queue_reinsertions;
other.best_prefix_mismatch += best_prefix_mismatch;
other.rebalancing_node_moves += rebalancing_node_moves;
other.estimated_improvement += estimated_improvement;
clear();
}
Expand All @@ -372,7 +369,7 @@ struct FMStats {
std::stringstream os;
os << V(retries) << " " << V(extractions) << " " << V(pushes) << " "
<< V(moves) << " " << V(local_reverts) << " " << V(estimated_improvement) << " "
<< V(best_prefix_mismatch) << " " << V(rebalancing_node_moves);
<< V(best_prefix_mismatch);
return os.str();
}
};
Expand Down
3 changes: 0 additions & 3 deletions mt-kahypar/partition/refinement/fm/localized_kway_fm_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,6 @@ namespace mt_kahypar {
}

if (moved) {
if (DispatchedFMStrategy::is_unconstrained && sharedData.unconstrained.isRebalancingNode(move.node)) {
runStats.rebalancing_node_moves++; // TODO: remove
}
runStats.moves++;
estimatedImprovement += move.gain;
localMoves.emplace_back(move, move_id);
Expand Down

0 comments on commit 314c74b

Please sign in to comment.