17 #ifndef JUBATUS_CORE_BURST_RESULT_WINDOW_HPP_
18 #define JUBATUS_CORE_BURST_RESULT_WINDOW_HPP_
33 : base_(start_pos, batch_interval, 0) {
37 const std::vector<double>& burst_weights)
43 if (burst_weights.size() != n) {
45 "result_window: size of burst_weights is not matching"));
48 const std::vector<batch_input>& inputs = input.
get_batches();
49 for (
size_t i = 0; i < n; ++i) {
72 #endif // JUBATUS_CORE_BURST_RESULT_WINDOW_HPP_
double get_all_interval() const
MSGPACK_DEFINE(batches_, start_pos_, batch_interval_)
result_window(double start_pos=0, double batch_interval=1)
std::vector< batch_type > batches_
basic_window< batch_result > base_
bool contains(double pos) const
double get_batch_interval() const
#define JUBATUS_EXCEPTION(e)
result_window(const input_window &input, const std::vector< double > &burst_weights)
int get_index(double pos) const
const std::vector< batch_type > & get_batches() const
double get_end_pos() const
int32_t get_batch_size() const
double get_start_pos() const