[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-06 UTC."],[],["The `ExponentialMovingAverage` class in C++ calculates moving averages using a decaying factor. It offers methods to `AddData` (a new record), retrieve the `CurrentAverage`, and query the `NumRecords` (total data points added). The constructor `ExponentialMovingAverage` takes a `decaying_factor` (between 0 and 1) as input. The moving average is updated as `new_average = decaying_factor * old_average + (1 - decaying_factor) * new_record`.\n"]]