#include <cmath>
#include <limits>
#include <vector>
#include <algorithm>
#include <fstream>
#include <boost/random.hpp>
#include <lshkit/topk.h>
Go to the source code of this file.
Namespaces | |
namespace | lshkit |
Classes | |
class | lshkit::Benchmark< KEY > |
Access a benchmark file. More... | |
class | lshkit::Stat |
Basic statistics. More... | |
Functions | |
template<typename RNG> | |
void | lshkit::SampleQueries (std::vector< unsigned > *qry, unsigned max, RNG &rng) |
Generate non-duplicate random numbers in a given range as query IDs. |