| 22 | namespace core { |
| 23 | |
| 24 | HnswSparseAlgorithm::HnswSparseAlgorithm(HnswSparseEntity &entity) |
| 25 | : entity_(entity), |
| 26 | mt_(std::chrono::system_clock::now().time_since_epoch().count()), |
| 27 | lock_pool_(kLockCnt) {} |
| 28 | |
| 29 | int HnswSparseAlgorithm::cleanup() { |
| 30 | return 0; |