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

#include <lane_scanning_evaluator.h>

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

Public Member Functions

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

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

◆ LaneScanningEvaluator()

apollo::prediction::LaneScanningEvaluator::LaneScanningEvaluator ( )

Constructor.

◆ ~LaneScanningEvaluator()

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

Destructor.

Member Function Documentation

◆ Evaluate() [1/2]

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

Override Evaluate.

Parameters
Obstaclepointer
Obstaclescontainer

Implements apollo::prediction::Evaluator.

◆ Evaluate() [2/2]

bool apollo::prediction::LaneScanningEvaluator::Evaluate ( Obstacle obstacle_ptr,
ObstaclesContainer obstacles_container,
std::vector< Obstacle *>  dynamic_env 
)
overridevirtual

Override Evaluate.

Parameters
Obstaclepointer
Obstaclescontainer
vectorof all Obstacles

Reimplemented from apollo::prediction::Evaluator.

◆ ExtractFeatures()

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

Extract features for learning model's input.

Parameters
Obstaclepointer
LaneGraph pointer
Tobe filled up with extracted features

◆ ExtractStringFeatures()

bool apollo::prediction::LaneScanningEvaluator::ExtractStringFeatures ( const LaneGraph &  lane_graph,
std::vector< std::string > *const  string_feature_values 
)

◆ GetName()

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

Get the name of evaluator.

Implements apollo::prediction::Evaluator.


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