jubatus_core
0.1.2
Jubatus: Online machine learning framework for distributed environment
|
#include <window_intersection.hpp>
Public Member Functions | |
int | adjust_index (int index) const |
int | get_index_ (double pos) const |
int | get_index_for_boundary (double boundary_pos) const |
template<class Window > | |
std::pair< int, int > | get_intersection (const Window &w) const |
bool | has_batch_interval_equals_to (double interval1) const |
intersection_helper (double start_pos=0, double batch_interval=1, int batch_size=0) | |
template<class Window > | |
intersection_helper (const Window &w) | |
bool | position_near (double pos0, double pos1) const |
Static Public Member Functions | |
static int | no_index () |
Private Attributes | |
double | batch_interval_ |
int | batch_size_ |
double | start_pos_ |
Definition at line 40 of file window_intersection.hpp.
|
inlineexplicit |
Definition at line 42 of file window_intersection.hpp.
|
inlineexplicit |
Definition at line 51 of file window_intersection.hpp.
|
inline |
Definition at line 97 of file window_intersection.hpp.
References batch_size_.
Referenced by get_intersection().
|
inline |
Definition at line 107 of file window_intersection.hpp.
References batch_interval_, and start_pos_.
Referenced by get_index_for_boundary().
|
inline |
Definition at line 73 of file window_intersection.hpp.
References batch_interval_, get_index_(), no_index(), position_near(), and start_pos_.
Referenced by get_intersection().
|
inline |
Definition at line 58 of file window_intersection.hpp.
References adjust_index(), get_index_for_boundary(), has_batch_interval_equals_to(), and no_index().
Referenced by jubatus::core::burst::get_intersection().
|
inline |
Definition at line 91 of file window_intersection.hpp.
References batch_interval_, batch_size_, and position_near().
Referenced by get_intersection(), and jubatus::core::burst::burst_result::has_same_batch_interval().
|
inlinestatic |
Definition at line 83 of file window_intersection.hpp.
Referenced by get_index_for_boundary(), and get_intersection().
|
inline |
Definition at line 87 of file window_intersection.hpp.
References batch_interval_, and jubatus::core::burst::window_position_near().
Referenced by get_index_for_boundary(), and has_batch_interval_equals_to().
|
private |
Definition at line 113 of file window_intersection.hpp.
Referenced by get_index_(), get_index_for_boundary(), has_batch_interval_equals_to(), and position_near().
|
private |
Definition at line 114 of file window_intersection.hpp.
Referenced by adjust_index(), and has_batch_interval_equals_to().
|
private |
Definition at line 112 of file window_intersection.hpp.
Referenced by get_index_(), and get_index_for_boundary().