Apollo 11.0
自动驾驶开放平台
apollo::planning::AutotuningSpeedMLPModel类 参考

#include <autotuning_speed_mlp_model.h>

类 apollo::planning::AutotuningSpeedMLPModel 继承关系图:
apollo::planning::AutotuningSpeedMLPModel 的协作图:

Public 成员函数

 AutotuningSpeedMLPModel ()=default
 
 ~AutotuningSpeedMLPModel ()=default
 
common::Status SetParams () override
 set mlp model as well as feature builder
 
double Evaluate (const autotuning::TrajectoryFeature &trajectory_feature) const override
 : evaluate by trajectory
 
double Evaluate (const autotuning::TrajectoryPointwiseFeature &point_feature) const override
 : evaluate by trajectory point
 
- Public 成员函数 继承自 apollo::planning::AutotuningBaseModel
 AutotuningBaseModel ()=default
 
virtual ~AutotuningBaseModel ()=default
 

额外继承的成员函数

- Protected 属性 继承自 apollo::planning::AutotuningBaseModel
std::unique_ptr< AutotuningMLPModel > mlp_model_ = nullptr
 : stored autotuning mlp model
 
std::unique_ptr< AutotuningFeatureBuilder > feature_builder_ = nullptr
 

详细描述

在文件 autotuning_speed_mlp_model.h 第 25 行定义.

构造及析构函数说明

◆ AutotuningSpeedMLPModel()

apollo::planning::AutotuningSpeedMLPModel::AutotuningSpeedMLPModel ( )
default

◆ ~AutotuningSpeedMLPModel()

apollo::planning::AutotuningSpeedMLPModel::~AutotuningSpeedMLPModel ( )
default

成员函数说明

◆ Evaluate() [1/2]

double apollo::planning::AutotuningSpeedMLPModel::Evaluate ( const autotuning::TrajectoryFeature &  trajectory_feature) const
overridevirtual

: evaluate by trajectory

参数
input trajectory feature proto
返回
: the total value of reward / cost

实现了 apollo::planning::AutotuningBaseModel.

在文件 autotuning_speed_mlp_model.cc 第 41 行定义.

42 {
43 return 0.0;
44}

◆ Evaluate() [2/2]

double apollo::planning::AutotuningSpeedMLPModel::Evaluate ( const autotuning::TrajectoryPointwiseFeature &  point_feature) const
overridevirtual

: evaluate by trajectory point

参数
trajectory pointwise input feature
返回
: total value of reward / cost

实现了 apollo::planning::AutotuningBaseModel.

在文件 autotuning_speed_mlp_model.cc 第 46 行定义.

47 {
48 return 0.0;
49}

◆ SetParams()

common::Status apollo::planning::AutotuningSpeedMLPModel::SetParams ( )
overridevirtual

set mlp model as well as feature builder

实现了 apollo::planning::AutotuningBaseModel.

在文件 autotuning_speed_mlp_model.cc 第 35 行定义.

35 {
36 mlp_model_.reset(new AutotuningMLPModel());
37 feature_builder_.reset(new AutotuningSpeedFeatureBuilder());
38 return common::Status::OK();
39}
static Status OK()
generate a success status.
Definition status.h:60
std::unique_ptr< AutotuningMLPModel > mlp_model_
: stored autotuning mlp model
std::unique_ptr< AutotuningFeatureBuilder > feature_builder_

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