Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <util.h>
Public Member Functions | |
ExponentialMovingAverage (double decaying_factor) | |
double | CurrentAverage () const |
Returns exponential moving average for all the added data so far. | |
int64_t | NumRecords () const |
Returns the total number of added records so far. | |
void | AddData (double new_record) |
Manages exponential moving averages defined as new_average = decaying_factor * old_average
|
inlineexplicit |
void operations_research::sat::ExponentialMovingAverage::AddData | ( | double | new_record | ) |
|
inline |
|
inline |