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

Method HnswAlgorithm

src/core/algorithm/hnsw/hnsw_algorithm.h:50–53  ·  view source on GitHub ↗

Constructor

Source from the content-addressed store, hash-verified

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;

Callers

nothing calls this directly

Calls 1

countMethod · 0.45

Tested by

no test coverage detected