Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::sat::ExponentialMovingAverage Class Reference

Detailed Description

Definition at line 792 of file util.h.

#include <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()

operations_research::sat::ExponentialMovingAverage::ExponentialMovingAverage ( double decaying_factor)
inlineexplicit

Definition at line 794 of file util.h.

Member Function Documentation

◆ AddData()

void operations_research::sat::ExponentialMovingAverage::AddData ( double new_record)

Definition at line 444 of file util.cc.

◆ CurrentAverage()

double operations_research::sat::ExponentialMovingAverage::CurrentAverage ( ) const
inline

Definition at line 801 of file util.h.

◆ NumRecords()

int64_t operations_research::sat::ExponentialMovingAverage::NumRecords ( ) const
inline

Definition at line 804 of file util.h.


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