Public Member Functions

graphlab::sampling_tree< Data, Priority > Class Template Reference
[Internal Utility Classes]

#include <sampling_tree.hpp>

List of all members.

Public Member Functions

 sampling_tree (size_t maxkeyval, Priority minimumpriority=1E-10, size_t ncpus=16)
size_t size ()
bool pop (size_t &key, Data &ret, Priority &pr, size_t cpuid=0)
bool sample (size_t &k, size_t cpuid=0)
void push (const size_t &key, const Data &item, const Priority &pr)
void increase_priority (const size_t &key, const Priority &pr)
void print_tree ()

Detailed Description

template<typename Data, typename Priority>
class graphlab::sampling_tree< Data, Priority >

Fast multinomial sampler

Definition at line 40 of file sampling_tree.hpp.


The documentation for this class was generated from the following file: