Constructor
| 48 | |
| 49 | //! Constructor |
| 50 | explicit HnswAlgorithm(EntityType &entity) |
| 51 | : entity_(entity), |
| 52 | mt_(std::chrono::system_clock::now().time_since_epoch().count()), |
| 53 | lock_pool_(kLockCnt) {} |
| 54 | |
| 55 | //! Destructor |
| 56 | ~HnswAlgorithm() override = default; |