MCPcopy Create free account
hub / github.com/antgroup/vsag / SetIO

Method SetIO

src/algorithm/hgraph.cpp:2107–2116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2105}
2106
2107void
2108HGraph::SetIO(const std::shared_ptr<Reader> reader) {
2109 auto reader_param = std::make_shared<ReaderIOParameter>();
2110 reader_param->reader = reader;
2111 if (use_reorder_) {
2112 high_precise_codes_->InitIO(reader_param);
2113 }
2114 basic_flatten_codes_->InitIO(reader_param);
2115 bottom_graph_->InitIO(reader_param);
2116}
2117
2118[[nodiscard]] DatasetPtr
2119HGraph::SearchWithRequest(const SearchRequest& request) const {

Callers 2

Calls 1

InitIOMethod · 0.45

Tested by

no test coverage detected