jubatus_core
0.1.2
Jubatus: Online machine learning framework for distributed environment
|
#include <input_window.hpp>
Public Member Functions | |
bool | add_document (uint32_t d, uint32_t r, double pos) |
input_window (double start_pos=0, double batch_interval=1, int32_t batch_size=0) | |
MSGPACK_DEFINE (batches_, start_pos_, batch_interval_) | |
void | swap (input_window &x) |
Private Types | |
typedef basic_window< batch_input > | base_ |
Private Types inherited from jubatus::core::burst::basic_window< batch_input > | |
typedef batch_input | batch_type |
Friends | |
void | swap (input_window &x, input_window &y) |
Additional Inherited Members | |
Private Member Functions inherited from jubatus::core::burst::basic_window< batch_input > | |
basic_window (double batch_interval=1) | |
basic_window (double start_pos, double batch_interval, int32_t batch_size) | |
bool | contains (double pos) const |
double | get_all_interval () const |
batch_type & | get_batch_by_index (size_t i) |
const batch_type & | get_batch_by_index (size_t i) const |
double | get_batch_interval () const |
int32_t | get_batch_size () const |
const std::vector< batch_type > & | get_batches () const |
double | get_end_pos () const |
int | get_index (double pos) const |
double | get_start_pos () const |
void | swap (basic_window &x) |
int | get_index_ (double pos) const |
Private Attributes inherited from jubatus::core::burst::basic_window< batch_input > | |
double | batch_interval_ |
std::vector< batch_type > | batches_ |
double | start_pos_ |
Definition at line 127 of file input_window.hpp.
|
private |
Definition at line 128 of file input_window.hpp.
|
inlineexplicit |
Definition at line 131 of file input_window.hpp.
|
inline |
Definition at line 137 of file input_window.hpp.
References jubatus::core::burst::basic_window< batch_input >::batches_, and jubatus::core::burst::basic_window< batch_input >::get_index().
jubatus::core::burst::input_window::MSGPACK_DEFINE | ( | batches_ | , |
start_pos_ | , | ||
batch_interval_ | |||
) |
|
inline |
Definition at line 159 of file input_window.hpp.
References jubatus::core::burst::basic_window< batch_input >::swap().
|
friend |
Definition at line 162 of file input_window.hpp.