#include <ctime>
#include <map>
#include <boost/archive/binary_iarchive.hpp>
#include <boost/archive/binary_oarchive.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/serialization/serialization.hpp>
#include <boost/serialization/set.hpp>
#include <boost/serialization/vector.hpp>
#include "data_util.h"
#include "multitable.hpp"
Go to the source code of this file.
Classes |
class | MultiIndexer< Record > |
Functions |
template<class Record > |
void | GetRecord (const Point &point, const PointId pid, const vector< ClusterId > coarse_quantization, const vector< Centroids > &coarse_vocabs, Record *result) |
template<class Record > |
void | InitParameters (const vector< Centroids > &fine_vocabs, const RerankMode &mode, const string &metainfo_filename) |
template<> |
void | GetRecord< PointId > (const Point &point, const PointId pid, const vector< ClusterId > coarse_quantization, const vector< Centroids > &coarse_vocabs, PointId *result) |
void | FillAdcInfo (const Point &point, const PointId pid, const vector< Centroids > &fine_vocabs, char *result) |
template<> |
void | GetRecord< RerankADC8 > (const Point &point, const PointId pid, const vector< ClusterId > coarse_quantization, const vector< Centroids > &coarse_vocabs, RerankADC8 *result) |
template<> |
void | GetRecord< RerankADC16 > (const Point &point, const PointId pid, const vector< ClusterId > coarse_quantization, const vector< Centroids > &coarse_vocabs, RerankADC16 *result) |
Variables |
int | THREADS_COUNT |
Dimensions | SPACE_DIMENSION |
enum PointType | point_type |
IndexConfig | gConfig |
Detailed Description
Function Documentation
Variable Documentation
Type, should be BVEC or FVEC
Number of coordinates in a point
Number of threads for indexing
Number of threads for indexing