|
jubatus_core
0.1.2
Jubatus: Online machine learning framework for distributed environment
|
#include <burst.hpp>

Classes | |
| class | diff_t |
| class | impl_ |
Public Types | |
| typedef std::vector< keyword_with_params > | keyword_list |
| typedef jubatus::util::data::unordered_map< std::string, result_t > | result_map |
| typedef burst_result | result_t |
Public Member Functions | |
| bool | add_document (const std::string &str, double pos) |
| bool | add_keyword (const std::string &keyword, const keyword_params ¶ms, bool processed_in_this_server) |
| burst (const burst_options &options) | |
| void | calculate_results () |
| void | clear () |
| result_map | get_all_bursted_results () const |
| result_map | get_all_bursted_results_at (double pos) const |
| keyword_list | get_all_keywords () const |
| void | get_diff (diff_t &ret) const |
| keyword_list | get_processed_keywords () const |
| result_t | get_result (const std::string &keyword) const |
| result_t | get_result_at (const std::string &keyword, double pos) const |
| storage::version | get_version () const |
| bool | has_been_mixed () const |
| void | pack (framework::packer &packer) const |
| bool | put_diff (const diff_t &) |
| bool | remove_all_keywords () |
| bool | remove_keyword (const std::string &keyword) |
| void | set_processed_keywords (const std::vector< std::string > &keywords) |
| void | unpack (msgpack::object o) |
| ~burst () | |
Static Public Member Functions | |
| static void | mix (const diff_t &lhs, diff_t &ret) |
Private Attributes | |
| jubatus::util::lang::scoped_ptr< impl_ > | p_ |
| typedef std::vector<keyword_with_params> jubatus::core::burst::burst::keyword_list |
| typedef jubatus::util::data::unordered_map<std::string, result_t> jubatus::core::burst::burst::result_map |
|
explicit |
| bool jubatus::core::burst::burst::add_document | ( | const std::string & | str, |
| double | pos | ||
| ) |
| bool jubatus::core::burst::burst::add_keyword | ( | const std::string & | keyword, |
| const keyword_params & | params, | ||
| bool | processed_in_this_server | ||
| ) |
| void jubatus::core::burst::burst::calculate_results | ( | ) |
| void jubatus::core::burst::burst::clear | ( | ) |
| burst::result_map jubatus::core::burst::burst::get_all_bursted_results | ( | ) | const |
| burst::result_map jubatus::core::burst::burst::get_all_bursted_results_at | ( | double | pos | ) | const |
| burst::keyword_list jubatus::core::burst::burst::get_all_keywords | ( | ) | const |
| void jubatus::core::burst::burst::get_diff | ( | diff_t & | ret | ) | const |
| burst::keyword_list jubatus::core::burst::burst::get_processed_keywords | ( | ) | const |
| burst::result_t jubatus::core::burst::burst::get_result | ( | const std::string & | keyword | ) | const |
| burst::result_t jubatus::core::burst::burst::get_result_at | ( | const std::string & | keyword, |
| double | pos | ||
| ) | const |
| storage::version jubatus::core::burst::burst::get_version | ( | ) | const |
| bool jubatus::core::burst::burst::has_been_mixed | ( | ) | const |
Definition at line 110 of file burst.hpp.
References jubatus::core::burst::burst::diff_t::mix().

| void jubatus::core::burst::burst::pack | ( | framework::packer & | packer | ) | const |
Definition at line 622 of file burst.cpp.
References JUBATUS_ASSERT, and p_.
| bool jubatus::core::burst::burst::put_diff | ( | const diff_t & | diff | ) |
| bool jubatus::core::burst::burst::remove_all_keywords | ( | ) |
| bool jubatus::core::burst::burst::remove_keyword | ( | const std::string & | keyword | ) |
| void jubatus::core::burst::burst::set_processed_keywords | ( | const std::vector< std::string > & | keywords | ) |
| void jubatus::core::burst::burst::unpack | ( | msgpack::object | o | ) |
|
private |
Definition at line 124 of file burst.hpp.
Referenced by calculate_results(), clear(), get_all_bursted_results(), get_all_bursted_results_at(), get_all_keywords(), get_diff(), get_processed_keywords(), get_result(), get_result_at(), get_version(), has_been_mixed(), jubatus::core::burst::burst::diff_t::msgpack_pack(), jubatus::core::burst::burst::diff_t::msgpack_unpack(), pack(), put_diff(), remove_all_keywords(), and unpack().
1.8.9.1