Skip to content

Commit

Permalink
mpl2: make fastSA() private
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Koucher <arthurkoucher@precisioninno.com>
  • Loading branch information
AcKoucher committed Nov 5, 2024
1 parent 85fc1f2 commit 14325f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mpl2/src/SimulatedAnnealingCore.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,8 @@ class SimulatedAnnealingCore
float getNormFencePenalty() const;
void getMacros(std::vector<T>& macros) const;

// Initialize the SA worker
virtual void initialize() = 0;
virtual void run() = 0;
void fastSA();
virtual void fillDeadSpace() = 0;

protected:
Expand All @@ -133,6 +131,8 @@ class SimulatedAnnealingCore
std::map<int, float> macro_id_to_width; // Macros' shapes.
};

void fastSA();

void initSequencePair();
void updateBestValidSoftResult();

Expand Down

0 comments on commit 14325f2

Please sign in to comment.