Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::prediction::MLPEvaluator Class Reference

#include <mlp_evaluator.h>

Inheritance diagram for apollo::prediction::MLPEvaluator:
Inheritance graph
Collaboration diagram for apollo::prediction::MLPEvaluator:
Collaboration graph

Public Member Functions

 MLPEvaluator ()
 Constructor. More...
 
virtual ~MLPEvaluator ()=default
 Destructor. More...
 
bool Evaluate (Obstacle *obstacle_ptr, ObstaclesContainer *obstacles_container) override
 Override Evaluate. More...
 
void ExtractFeatureValues (Obstacle *obstacle_ptr, LaneSequence *lane_sequence_ptr, std::vector< double > *feature_values)
 Extract feature vector. More...
 
std::string GetName () override
 Get the name of evaluator. More...
 
void Clear ()
 Clear obstacle feature map. More...
 
- Public Member Functions inherited from apollo::prediction::Evaluator
 Evaluator ()=default
 Constructor. More...
 
virtual ~Evaluator ()=default
 Destructor. More...
 
virtual bool Evaluate (Obstacle *obstacle, ObstaclesContainer *obstacles_container, std::vector< Obstacle *> dynamic_env)
 Evaluate an obstacle. More...
 

Additional Inherited Members

- Protected Member Functions inherited from apollo::prediction::Evaluator
std::pair< double, double > WorldCoordToObjCoord (std::pair< double, double > input_world_coord, std::pair< double, double > obj_world_coord, double obj_world_angle)
 
double WorldAngleToObjAngle (double input_world_angle, double obj_world_angle)
 
Eigen::MatrixXf VectorToMatrixXf (const std::vector< double > &nums, const int start_index, const int end_index)
 
Eigen::MatrixXf VectorToMatrixXf (const std::vector< double > &nums, const int start_index, const int end_index, const int output_num_row, const int output_num_col)
 
- Protected Attributes inherited from apollo::prediction::Evaluator
ObstacleConf::EvaluatorType evaluator_type_
 

Constructor & Destructor Documentation

◆ MLPEvaluator()

apollo::prediction::MLPEvaluator::MLPEvaluator ( )

Constructor.

◆ ~MLPEvaluator()

virtual apollo::prediction::MLPEvaluator::~MLPEvaluator ( )
virtualdefault

Destructor.

Member Function Documentation

◆ Clear()

void apollo::prediction::MLPEvaluator::Clear ( )

Clear obstacle feature map.

◆ Evaluate()

bool apollo::prediction::MLPEvaluator::Evaluate ( Obstacle obstacle_ptr,
ObstaclesContainer obstacles_container 
)
overridevirtual

Override Evaluate.

Parameters
Obstaclepointer
Obstaclescontainer

Implements apollo::prediction::Evaluator.

◆ ExtractFeatureValues()

void apollo::prediction::MLPEvaluator::ExtractFeatureValues ( Obstacle obstacle_ptr,
LaneSequence *  lane_sequence_ptr,
std::vector< double > *  feature_values 
)

Extract feature vector.

Parameters
Obstaclepointer Lane Sequence pointer

◆ GetName()

std::string apollo::prediction::MLPEvaluator::GetName ( )
inlineoverridevirtual

Get the name of evaluator.

Implements apollo::prediction::Evaluator.


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