MultiIndex
Classes | Functions | Variables
indexer.h File Reference
#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"
Include dependency graph for indexer.h:
This graph shows which files directly or indirectly include this file:

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

void FillAdcInfo ( const Point point,
const PointId  pid,
const vector< Centroids > &  fine_vocabs,
char *  result 
) [inline]
template<class Record >
void GetRecord ( const Point point,
const PointId  pid,
const vector< ClusterId coarse_quantization,
const vector< Centroids > &  coarse_vocabs,
Record *  result 
) [inline]
template<>
void GetRecord< PointId > ( const Point point,
const PointId  pid,
const vector< ClusterId coarse_quantization,
const vector< Centroids > &  coarse_vocabs,
PointId result 
) [inline]
template<>
void GetRecord< RerankADC16 > ( const Point point,
const PointId  pid,
const vector< ClusterId coarse_quantization,
const vector< Centroids > &  coarse_vocabs,
RerankADC16 result 
) [inline]
template<>
void GetRecord< RerankADC8 > ( const Point point,
const PointId  pid,
const vector< ClusterId coarse_quantization,
const vector< Centroids > &  coarse_vocabs,
RerankADC8 result 
) [inline]
template<class Record >
void InitParameters ( const vector< Centroids > &  fine_vocabs,
const RerankMode mode,
const string &  metainfo_filename 
)

Variable Documentation

Type, should be BVEC or FVEC

Number of coordinates in a point

Number of threads for indexing

Number of threads for indexing

 All Classes Files Functions Variables Typedefs Enumerations Enumerator