diff --git a/hnswlib/bruteforce.h b/hnswlib/bruteforce.h index 8727cc8a..25117dee 100644 --- a/hnswlib/bruteforce.h +++ b/hnswlib/bruteforce.h @@ -83,6 +83,16 @@ class BruteforceSearch : public AlgorithmInterface { } + size_t getMaxElements() { + return maxelements_; + } + + + size_t getCurrentElementCount() { + return cur_element_count; + } + + void removePoint(labeltype cur_external) { std::unique_lock lock(index_lock);