File tree 2 files changed +15
-0
lines changed
2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -3175,6 +3175,18 @@ class index_gt {
3175
3175
3176
3176
std::size_t memory_usage_per_node (level_t level) const noexcept { return node_bytes_ (level); }
3177
3177
3178
+ double inverse_log_connectivity () const {
3179
+ return pre_.inverse_log_connectivity ;
3180
+ }
3181
+
3182
+ std::size_t neighbors_base_bytes () const {
3183
+ return pre_.neighbors_base_bytes ;
3184
+ }
3185
+
3186
+ std::size_t neighbors_bytes () const {
3187
+ return pre_.neighbors_bytes ;
3188
+ }
3189
+
3178
3190
#if defined(USEARCH_USE_PRAGMA_REGION)
3179
3191
#pragma endregion
3180
3192
Original file line number Diff line number Diff line change @@ -693,6 +693,9 @@ class index_dense_gt {
693
693
std::size_t max_level () const { return typed_->max_level (); }
694
694
index_dense_config_t const & config () const { return config_; }
695
695
index_limits_t const & limits () const { return typed_->limits (); }
696
+ double inverse_log_connectivity () const { return typed_->inverse_log_connectivity (); }
697
+ std::size_t neighbors_base_bytes () const { return typed_->neighbors_base_bytes (); }
698
+ std::size_t neighbors_bytes () const { return typed_->neighbors_bytes (); }
696
699
bool multi () const { return config_.multi ; }
697
700
std::size_t currently_available_threads () const {
698
701
std::unique_lock<std::mutex> available_threads_lock (available_threads_mutex_);
You can’t perform that action at this time.
0 commit comments