Apollo 11.0
自动驾驶开放平台
apollo::control::ExponentialSmoothing类 参考

#include <exponential_smoothing.h>

apollo::control::ExponentialSmoothing 的协作图:

静态 Public 成员函数

static double exponential_smoothing (const double &current_value, const double &last_value, const double &alpha)
 

详细描述

在文件 exponential_smoothing.h 第 21 行定义.

成员函数说明

◆ exponential_smoothing()

double apollo::control::ExponentialSmoothing::exponential_smoothing ( const double &  current_value,
const double &  last_value,
const double &  alpha 
)
static

在文件 exponential_smoothing.cc 第 23 行定义.

26 {
27 return alpha * current_value + (1.0 - alpha) * last_value;
28}

该类的文档由以下文件生成: