OR-Tools  9.6
ExponentialMovingAverage

Detailed Description

Definition at line 304 of file sat/util.h.

Public Member Functions

 ExponentialMovingAverage (double decaying_factor)
 
double CurrentAverage () const
 
int64_t NumRecords () const
 
void AddData (double new_record)
 

Constructor & Destructor Documentation

◆ ExponentialMovingAverage()

ExponentialMovingAverage ( double  decaying_factor)
inlineexplicit

Definition at line 306 of file sat/util.h.

Member Function Documentation

◆ AddData()

void AddData ( double  new_record)

Definition at line 347 of file sat/util.cc.

◆ CurrentAverage()

double CurrentAverage ( ) const
inline

Definition at line 313 of file sat/util.h.

◆ NumRecords()

int64_t NumRecords ( ) const
inline

Definition at line 316 of file sat/util.h.


The documentation for this class was generated from the following files: