Skip to content

Commit

Permalink
drt: Use Boost's hashmap for A*
Browse files Browse the repository at this point in the history
Signed-off-by: Krzysztof Bieganski <[email protected]>
  • Loading branch information
kbieganski committed Jan 7, 2025
1 parent 745bbe8 commit 16f0600
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions etc/DependencyInstaller.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ _installCommonDev() {
pcreChecksum="37d2f77cfd411a3ddf1c64e1d72e43f7"
swigVersion=4.1.0
swigChecksum="794433378154eb61270a3ac127d9c5f3"
boostVersionBig=1.80
boostVersionBig=1.82
boostVersionSmall=${boostVersionBig}.0
boostChecksum="077f074743ea7b0cb49c6ed43953ae95"
boostChecksum="f7050f554a65f6a42ece221eaeec1660"
eigenVersion=3.4
cuddVersion=3.0.0
lemonVersion=1.3.1
Expand Down
4 changes: 2 additions & 2 deletions src/drt/src/dr/FlexGridGraph.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

#include <boost/container/flat_map.hpp>
#include <boost/container/flat_set.hpp>
#include <unordered_map>
#include <boost/unordered/unordered_flat_map.hpp>
#include <cstdint>
#include <cstring>
#include <fstream>
Expand Down Expand Up @@ -1128,7 +1128,7 @@ class FlexGridGraph
std::vector<bool> srcs_;
std::vector<bool> dsts_;
std::vector<bool> guides_;
std::unordered_map<frMIdx, frCost> path_costs_;
boost::unordered_flat_map<frMIdx, frCost> path_costs_;
frVector<frCoord> xCoords_;
frVector<frCoord> yCoords_;
frVector<frLayerNum> zCoords_;
Expand Down

0 comments on commit 16f0600

Please sign in to comment.