From 14325f268e20edbe3eaa863d71ae6e68e630c2e0 Mon Sep 17 00:00:00 2001 From: Arthur Koucher Date: Tue, 5 Nov 2024 11:48:46 -0300 Subject: [PATCH] mpl2: make fastSA() private Signed-off-by: Arthur Koucher --- src/mpl2/src/SimulatedAnnealingCore.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mpl2/src/SimulatedAnnealingCore.h b/src/mpl2/src/SimulatedAnnealingCore.h index 38ffc640c6e..3196f443a39 100644 --- a/src/mpl2/src/SimulatedAnnealingCore.h +++ b/src/mpl2/src/SimulatedAnnealingCore.h @@ -118,10 +118,8 @@ class SimulatedAnnealingCore float getNormFencePenalty() const; void getMacros(std::vector& macros) const; - // Initialize the SA worker virtual void initialize() = 0; virtual void run() = 0; - void fastSA(); virtual void fillDeadSpace() = 0; protected: @@ -133,6 +131,8 @@ class SimulatedAnnealingCore std::map macro_id_to_width; // Macros' shapes. }; + void fastSA(); + void initSequencePair(); void updateBestValidSoftResult();