MultiIndex
Classes | Typedefs | Functions | Variables
searcher.h File Reference
#include <algorithm>
#include <map>
#include <boost/archive/binary_iarchive.hpp>
#include <boost/archive/binary_oarchive.hpp>
#include <boost/serialization/serialization.hpp>
#include <boost/serialization/set.hpp>
#include <boost/serialization/vector.hpp>
#include <mkl_cblas.h>
#include "data_util.h"
#include "ordered_lists_merger.h"
#include "perfomance_util.h"
Include dependency graph for searcher.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MultiSearcher< Record, MetaInfo >

Typedefs

typedef vector< pair< Distance,
ClusterId > > 
NearestSubspaceCentroids

Functions

template<class Record , class MetaInfo >
void RecordToMetainfoAndDistance (const Coord *point, const Record &record, pair< Distance, MetaInfo > *result, const vector< int > &cell_coordinates, const vector< Centroids > &fine_vocabs)
template<>
void RecordToMetainfoAndDistance< RerankADC8, PointId > (const Coord *point, const RerankADC8 &record, pair< Distance, PointId > *result, const vector< int > &cell_coordinates, const vector< Centroids > &fine_vocabs)
template<>
void RecordToMetainfoAndDistance< RerankADC16, PointId > (const Coord *point, const RerankADC16 &record, pair< Distance, PointId > *result, const vector< int > &cell_coordinates, const vector< Centroids > &fine_vocabs)

Variables

int THREADS_COUNT
Dimensions SPACE_DIMENSION
enum PointType point_type

Detailed Description


Typedef Documentation

typedef vector<pair<Distance, ClusterId> > NearestSubspaceCentroids

Function Documentation

template<class Record , class MetaInfo >
void RecordToMetainfoAndDistance ( const Coord point,
const Record &  record,
pair< Distance, MetaInfo > *  result,
const vector< int > &  cell_coordinates,
const vector< Centroids > &  fine_vocabs 
) [inline]
template<>
void RecordToMetainfoAndDistance< RerankADC16, PointId > ( const Coord point,
const RerankADC16 record,
pair< Distance, PointId > *  result,
const vector< int > &  cell_coordinates,
const vector< Centroids > &  fine_vocabs 
) [inline]
template<>
void RecordToMetainfoAndDistance< RerankADC8, PointId > ( const Coord point,
const RerankADC8 record,
pair< Distance, PointId > *  result,
const vector< int > &  cell_coordinates,
const vector< Centroids > &  fine_vocabs 
) [inline]

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