Apollo  6.0
Open source self driving car software
Public Member Functions | Protected Attributes | List of all members
apollo::planning::AutotuningBaseModel Class Referenceabstract

#include <autotuning_base_model.h>

Inheritance diagram for apollo::planning::AutotuningBaseModel:
Inheritance graph
Collaboration diagram for apollo::planning::AutotuningBaseModel:
Collaboration graph

Public Member Functions

 AutotuningBaseModel ()=default
 
virtual ~AutotuningBaseModel ()=default
 
virtual common::Status SetParams ()=0
 set mlp model as well as feature builder More...
 
virtual double Evaluate (const autotuning::TrajectoryFeature &trajectory_feature) const =0
 : evaluate by trajectory More...
 
virtual double Evaluate (const autotuning::TrajectoryPointwiseFeature &point_feature) const =0
 : evaluate by trajectory point More...
 

Protected Attributes

std::unique_ptr< AutotuningMLPModelmlp_model_ = nullptr
 : stored autotuning mlp model More...
 
std::unique_ptr< AutotuningFeatureBuilderfeature_builder_ = nullptr
 

Constructor & Destructor Documentation

◆ AutotuningBaseModel()

apollo::planning::AutotuningBaseModel::AutotuningBaseModel ( )
default

◆ ~AutotuningBaseModel()

virtual apollo::planning::AutotuningBaseModel::~AutotuningBaseModel ( )
virtualdefault

Member Function Documentation

◆ Evaluate() [1/2]

virtual double apollo::planning::AutotuningBaseModel::Evaluate ( const autotuning::TrajectoryFeature &  trajectory_feature) const
pure virtual

: evaluate by trajectory

Parameters
input trajectory feature proto
Returns
: the total value of reward / cost

Implemented in apollo::planning::AutotuningSpeedMLPModel.

◆ Evaluate() [2/2]

virtual double apollo::planning::AutotuningBaseModel::Evaluate ( const autotuning::TrajectoryPointwiseFeature &  point_feature) const
pure virtual

: evaluate by trajectory point

Parameters
trajectory pointwise input feature
Returns
: total value of reward / cost

Implemented in apollo::planning::AutotuningSpeedMLPModel.

◆ SetParams()

virtual common::Status apollo::planning::AutotuningBaseModel::SetParams ( )
pure virtual

set mlp model as well as feature builder

Implemented in apollo::planning::AutotuningSpeedMLPModel.

Member Data Documentation

◆ feature_builder_

std::unique_ptr<AutotuningFeatureBuilder> apollo::planning::AutotuningBaseModel::feature_builder_ = nullptr
protected

◆ mlp_model_

std::unique_ptr<AutotuningMLPModel> apollo::planning::AutotuningBaseModel::mlp_model_ = nullptr
protected

: stored autotuning mlp model


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