From 6a0188c76e2ca1a93b6622266b4b83e7c3f852bc Mon Sep 17 00:00:00 2001 From: Arthur Koucher Date: Fri, 5 Apr 2024 15:46:59 -0300 Subject: [PATCH] mpl2: comment Signed-off-by: Arthur Koucher --- src/mpl2/src/SimulatedAnnealingCore.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mpl2/src/SimulatedAnnealingCore.cpp b/src/mpl2/src/SimulatedAnnealingCore.cpp index eb1a465b059..de8854990bc 100644 --- a/src/mpl2/src/SimulatedAnnealingCore.cpp +++ b/src/mpl2/src/SimulatedAnnealingCore.cpp @@ -608,8 +608,9 @@ void SimulatedAnnealingCore::attemptCentralization(const float pre_cost) return; } - // In order to revert the centralization, we cache the current - // location of the clusters to avoid floating-point evilness. + // In order to revert the centralization, we cache the current location + // of the clusters to avoid floating-point evilness when creating the + // x,y grid to fill the dead space by expanding mixed clusters. std::vector> clusters_locations; for (int& id : pos_seq_) { clusters_locations.emplace_back(macros_[id].getX(), macros_[id].getY());