4 #include <experimental/filesystem>
12 namespace fs = std::experimental::filesystem;
42 const fs::path &indexPath,
long long offset);
52 const fs::path &indexPath,
long long offset);
69 void testIndex(
const FTProp& ftProps, algo::IFmIndex* fmIndex,
const fs::path &indexPath, std::string &testkmer);
73 #endif // end of Finder class
void parallelSearch(FTMap &ftMap, const fs::path &indexPath, long long offset)
parallelSearch searches kmers in parallel in a single index.
Definition: finder.cpp:82
A class that contains information for a single Kmer.
Definition: kmerClass.h:17
virtual ~Finder()
Destructor.
Definition: finder.cpp:179
Finder()
Constructor.
Definition: finder.cpp:10
void searchIndexes(ft::FTMap &ftMap)
Main search function based on the parameters set in FTMap.
Definition: finder.cpp:31
void indexParallelSearch(ft::FTMap &ftMap)
indexParallelSearch searches across all indexes in parallel
Definition: finder.cpp:55
A class that handles the main search functions.
Definition: finder.h:19
void sequentialSearch(ft::FTMap &ftMap, const fs::path &indexPath, long long offset)
sequentialSearch searches kmers sequentially in a single index.
Definition: finder.cpp:140
This namespace contains all the functions to interact with the search.
Definition: directSearch.h:16
void testIndex(const FTProp &ftProps, algo::IFmIndex *fmIndex, const fs::path &indexPath, std::string &testkmer)
Definition: finder.cpp:15
void addResultsFutures(std::map< std::string, ft::KmerClass > &indexResults, ft::KmerClass &tmpResult, uint offset)
add results from an index to FTMap
Definition: finder.cpp:68
A class that contains all the properties for a FlexTyper instance.
Definition: ftPropsClass.h:63
void indexSequentialSearch(ft::FTMap &ftMap)
indexSequentialSearch searches across all indexes sequentially
Definition: finder.cpp:43
A class that contains information for the FlexTyper Instance.
Definition: ftMapClass.h:24