|
MultiIndex
|
#include <iostream>#include <boost\program_options.hpp>#include <mkl.h>#include "searcher.h"#include "indexer.h"
Functions | |
| int | SetOptions (int argc, char **argv) |
| template<class TSearcher > | |
| void | TestSearcher (TSearcher &searcher, const Points &queries, const vector< vector< PointId > > &groundtruth) |
| int | main (int argc, char **argv) |
Variables | |
| Dimensions | SPACE_DIMENSION |
| string | coarse_vocabs_file |
| string | fine_vocabs_file |
| RerankMode | mode |
| string | index_files_prefix |
| string | queries_file |
| PointType | query_point_type |
| string | groundtruth_file |
| int | queries_count |
| bool | do_rerank |
| int | neighbours_count |
| string | report_file |
| int | subspaces_centroids_count |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
| int SetOptions | ( | int | argc, |
| char ** | argv | ||
| ) |
| void TestSearcher | ( | TSearcher & | searcher, |
| const Points & | queries, | ||
| const vector< vector< PointId > > & | groundtruth | ||
| ) |
| string coarse_vocabs_file |
File with vocabularies for multiindex structure
| bool do_rerank |
Should we rerank?
| string fine_vocabs_file |
File with vocabularies for reranking
| string groundtruth_file |
File with groundtruth (.ivec)
| string index_files_prefix |
Common prefix of all multiindex files
Reranking approach, should be USE_RESIDUALS or USE_INIT_POINTS
| int neighbours_count |
Number of neighbours to look over
| int queries_count |
Number of queries to search
| string queries_file |
File with queries (.bvec or .fvec)
Type, should be BVEC or FVEC
| string report_file |
File to write report in
Number of threads for indexing
Number of nearest centroids for each group of dimensions to handle
1.7.6.1