namespace cvflann::lsh

Overview

namespace lsh {

// typedefs

typedef std::vector<FeatureIndex> Bucket;
typedef unsigned int BucketKey;
typedef uint32_t FeatureIndex;

// structs

struct LshStats;

// classes

template <typename ElementType>
class LshTable;

// global functions

std::ostream&
operator<<(
    std::ostream& out,
    const LshStats& stats
    );

} // namespace lsh

Detailed Documentation

Typedefs

typedef std::vector<FeatureIndex> Bucket

A bucket in an LSH table

typedef unsigned int BucketKey

The id from which we can get a bucket back in an LSH table

typedef uint32_t FeatureIndex

What is stored in an LSH bucket

Global Functions

std::ostream&
operator<<(
    std::ostream& out,
    const LshStats& stats
    )

Overload the << operator for LshStats

Parameters:

out the streams
stats the stats to display

Returns:

the streams