コード例 #1
0
ファイル: anomaly_impl.cpp プロジェクト: hhatto/jubatus
 float overwrite(const std::string& id,
     const jubatus::core::fv_converter::datum& row) {
   JWLOCK_(p_);
   return get_p()->overwrite(id, row);
 }
コード例 #2
0
 bool put(const std::string& key, const std::string& value) {
   JWLOCK_(p_);
   return get_p()->put(key, value);
 }
コード例 #3
0
ファイル: burst_impl.cpp プロジェクト: sodium-g/jubatus
 bool remove_keyword(const std::string& keyword) {
   JWLOCK_(p_);
   return get_p()->remove_keyword(keyword);
 }
コード例 #4
0
ファイル: anomaly_impl.cpp プロジェクト: hhatto/jubatus
 bool clear_row(const std::string& id) {
   JWLOCK_(p_);
   return get_p()->clear_row(id);
 }
コード例 #5
0
 bool register_arm(const std::string& arm_id) {
   JWLOCK_(p_);
   return get_p()->register_arm(arm_id);
 }
コード例 #6
0
ファイル: burst_impl.cpp プロジェクト: sodium-g/jubatus
 bool add_keyword(const keyword_with_params& keyword) {
   JWLOCK_(p_);
   return get_p()->add_keyword(keyword);
 }
コード例 #7
0
 bool set_row(const std::string& id,
              const jubatus::core::fv_converter::datum& d) {
     JWLOCK_(p_);
     return get_p()->set_row(id, d);
 }
コード例 #8
0
 bool clear() {
   JWLOCK_(p_);
   return get_p()->clear();
 }
コード例 #9
0
 bool reset(const std::string& player_id) {
   JWLOCK_(p_);
   return get_p()->reset(player_id);
 }
コード例 #10
0
ファイル: stat_impl.cpp プロジェクト: JediKoder/jubatus
 bool push(const std::string& key, double value) {
   JWLOCK_(p_);
   return get_p()->push(key, value);
 }
コード例 #11
0
 bool register_reward(const std::string& player_id, const std::string& arm_id,
     double reward) {
   JWLOCK_(p_);
   return get_p()->register_reward(player_id, arm_id, reward);
 }
コード例 #12
0
 std::string select_arm(const std::string& player_id) {
   JWLOCK_(p_);
   return get_p()->select_arm(player_id);
 }
コード例 #13
0
 bool delete_arm(const std::string& arm_id) {
   JWLOCK_(p_);
   return get_p()->delete_arm(arm_id);
 }
コード例 #14
0
 bool del(const std::string& key) {
   JWLOCK_(p_);
   return get_p()->del(key);
 }
コード例 #15
0
ファイル: burst_impl.cpp プロジェクト: sodium-g/jubatus
 bool remove_all_keywords() {
   JWLOCK_(p_);
   return get_p()->remove_all_keywords();
 }
コード例 #16
0
 int32_t train(const std::vector<scored_datum>& train_data) {
   JWLOCK_(p_);
   return get_p()->train(train_data);
 }
コード例 #17
0
ファイル: burst_impl.cpp プロジェクト: sodium-g/jubatus
 int32_t add_documents(const std::vector<document>& data) {
   JWLOCK_(p_);
   return get_p()->add_documents(data);
 }
コード例 #18
0
 bool load(const std::string& id) {
   JWLOCK_(p_);
   return get_p()->load(id);
 }
コード例 #19
0
ファイル: anomaly_impl.cpp プロジェクト: pombredanne/jubatus
 bool save(const std::string& id) {
     JWLOCK_(p_);
     return get_p()->save(id);
 }