INNER CODE UNIT · C++

navigation_point_

epsilla-cloud/vectordb · engine/db/ann_graph_segment.cpp:241

  navigation_point_ = index_->navigation_point;
}

void ANNGraphSegment::Debug() {
  std::cout << "offset_table_:" << std::endl;
  for (int64_t i = 0; i < record_number_ + 1; ++i) {
    std::cout << offset_table_[i] << " ";
  }
  std::cout << std::endl;
  std::cout << "neighbor_list_:" << std::endl;
  for (int64_t i = 0; i < offset_table_[record_number_]; ++i) {
    std::cout << neighbor_list_[i] << " ";
  }
  std::cout << std::endl;
  std::cout << "navigation_point_:" << std::endl;
  std::cout << navigation_point_ << std::endl;
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…