#include <hasher.h>
Public Member Functions |
vector< float > | get_cur_scores () |
void | add_vecs (const rmf &invecs) |
void | hash (const rmf &invecs, cmf &hashes) |
| hasher (size_t num_hash, size_t num_rand, vector< float > dims, size_t d_vals, float min_interest) |
| ~hasher () |
Private Member Functions |
size_t | get_bin (float hval, size_t n_bins) |
void | add_scores (const cmf &inscores) |
Detailed Description
Definition at line 15 of file hasher.h.
Constructor & Destructor Documentation
hasher::hasher |
( |
size_t |
num_hash, |
|
|
size_t |
num_rand, |
|
|
vector< float > |
dims, |
|
|
size_t |
d_vals, |
|
|
float |
min_interest |
|
) |
| |
Member Function Documentation
void hasher::add_scores |
( |
const cmf & |
inscores | ) |
|
|
private |
void hasher::add_vecs |
( |
const rmf & |
invecs | ) |
|
size_t hasher::get_bin |
( |
float |
hval, |
|
|
size_t |
n_bins |
|
) |
| |
|
inlineprivate |
vector< float > hasher::get_cur_scores |
( |
| ) |
|
void hasher::hash |
( |
const rmf & |
invecs, |
|
|
cmf & |
hashes |
|
) |
| |
Member Data Documentation
vector<float> hasher::d_test |
|
private |
vector<vector<vector<size_t> > > hasher::tor_hashes |
|
private |
The documentation for this class was generated from the following files: