MCPcopy Create free account
hub / github.com/alibaba/zvec / HnswSparseAlgorithm

Method HnswSparseAlgorithm

src/core/algorithm/hnsw_sparse/hnsw_sparse_algorithm.cc:24–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

countMethod · 0.45

Tested by

no test coverage detected