jubatus_core
0.1.2
Jubatus: Online machine learning framework for distributed environment
|
#include <portable_mixer.hpp>
Public Member Functions | |
void | add (Storage *storage) |
void | clear () |
Storage * | get_hash (const std::string &id) const |
Storage * | get_random () |
void | mix () |
portable_mixer () | |
portable_mixer (uint32_t seed) | |
Private Attributes | |
jubatus::util::math::random::mtrand | rand_ |
std::vector< Storage * > | storages_ |
Definition at line 30 of file portable_mixer.hpp.
|
inline |
Definition at line 32 of file portable_mixer.hpp.
|
inlineexplicit |
Definition at line 35 of file portable_mixer.hpp.
|
inline |
Definition at line 43 of file portable_mixer.hpp.
References jubatus::core::common::portable_mixer< Storage, Diff >::storages_.
|
inline |
Definition at line 39 of file portable_mixer.hpp.
References jubatus::core::common::portable_mixer< Storage, Diff >::storages_.
|
inline |
Definition at line 51 of file portable_mixer.hpp.
References jubatus::core::common::hash_util::calc_string_hash(), and jubatus::core::common::portable_mixer< Storage, Diff >::storages_.
|
inline |
Definition at line 47 of file portable_mixer.hpp.
References jubatus::core::common::portable_mixer< Storage, Diff >::rand_, and jubatus::core::common::portable_mixer< Storage, Diff >::storages_.
|
inline |
Definition at line 55 of file portable_mixer.hpp.
References jubatus::core::common::portable_mixer< Storage, Diff >::storages_.
|
private |
Definition at line 76 of file portable_mixer.hpp.
Referenced by jubatus::core::common::portable_mixer< Storage, Diff >::get_random().
|
private |
Definition at line 75 of file portable_mixer.hpp.
Referenced by jubatus::core::common::portable_mixer< Storage, Diff >::add(), jubatus::core::common::portable_mixer< Storage, Diff >::clear(), jubatus::core::common::portable_mixer< Storage, Diff >::get_hash(), jubatus::core::common::portable_mixer< Storage, Diff >::get_random(), and jubatus::core::common::portable_mixer< Storage, Diff >::mix().