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

#include <semantic_lstm_evaluator.h>

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

Public Member Functions

 SemanticLSTMEvaluator ()=delete
 Constructor. More...
 
 SemanticLSTMEvaluator (SemanticMap *semantic_map)
 
virtual ~SemanticLSTMEvaluator ()=default
 Destructor. More...
 
void Clear ()
 Clear obstacle feature map. More...
 
bool Evaluate (Obstacle *obstacle_ptr, ObstaclesContainer *obstacles_container) override
 Override Evaluate. More...
 
bool ExtractObstacleHistory (Obstacle *obstacle_ptr, std::vector< std::pair< double, double >> *pos_history)
 Extract obstacle history. More...
 
std::string GetName () override
 Get the name of evaluator. 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

◆ SemanticLSTMEvaluator() [1/2]

apollo::prediction::SemanticLSTMEvaluator::SemanticLSTMEvaluator ( )
delete

Constructor.

◆ SemanticLSTMEvaluator() [2/2]

apollo::prediction::SemanticLSTMEvaluator::SemanticLSTMEvaluator ( SemanticMap semantic_map)
explicit

◆ ~SemanticLSTMEvaluator()

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

Destructor.

Member Function Documentation

◆ Clear()

void apollo::prediction::SemanticLSTMEvaluator::Clear ( )

Clear obstacle feature map.

◆ Evaluate()

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

Override Evaluate.

Parameters
Obstaclepointer
Obstaclescontainer

Implements apollo::prediction::Evaluator.

◆ ExtractObstacleHistory()

bool apollo::prediction::SemanticLSTMEvaluator::ExtractObstacleHistory ( Obstacle obstacle_ptr,
std::vector< std::pair< double, double >> *  pos_history 
)

Extract obstacle history.

Parameters
Obstaclepointer Feature container in a vector for receiving the obstacle history

◆ GetName()

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

Get the name of evaluator.

Implements apollo::prediction::Evaluator.


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