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

#include <pedestrian_interaction_evaluator.h>

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

Public Member Functions

 PedestrianInteractionEvaluator ()
 Constructor. More...
 
virtual ~PedestrianInteractionEvaluator ()=default
 Destructor. More...
 
bool Evaluate (Obstacle *obstacle_ptr, ObstaclesContainer *obstacles_container) override
 Override Evaluate. More...
 
bool ExtractFeatures (const Obstacle *obstacle_ptr, std::vector< double > *feature_values)
 Extract features for learning model's input. 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

◆ PedestrianInteractionEvaluator()

apollo::prediction::PedestrianInteractionEvaluator::PedestrianInteractionEvaluator ( )

Constructor.

◆ ~PedestrianInteractionEvaluator()

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

Destructor.

Member Function Documentation

◆ Evaluate()

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

Override Evaluate.

Parameters
Obstaclepointer
Obstaclescontainer

Implements apollo::prediction::Evaluator.

◆ ExtractFeatures()

bool apollo::prediction::PedestrianInteractionEvaluator::ExtractFeatures ( const Obstacle obstacle_ptr,
std::vector< double > *  feature_values 
)

Extract features for learning model's input.

Parameters
Obstaclepointer
Tobe filled up with extracted features

◆ GetName()

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

Get the name of evaluator.

Implements apollo::prediction::Evaluator.


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