VectorSearch/lib_vector_search/include/parallel_finder.h

18 lines
364 B
C++

#pragma once
#include "finder.h"
#include <vector>
class ParallelFinder : public Finder {
private:
const size_t thread_count_;
const std::vector<string> &word_list_;
public:
ParallelFinder(const std::vector<string> &word_list, size_t thread_count);
std::forward_list<const std::string *>
find_prefix(std::string_view search_term) const override;
};