#include <feature_output.h>
|
static void | Close () |
| Close the output stream. More...
|
|
static void | Clear () |
| Reset. More...
|
|
static bool | Ready () |
| Check if output is ready. More...
|
|
static void | InsertFeatureProto (const Feature &feature) |
| Insert a feature. More...
|
|
static void | InsertDataForLearning (const Feature &feature, const std::vector< double > &feature_values, const std::string &category, const LaneSequence *lane_sequence_ptr) |
| Insert a data_for_learning. More...
|
|
static void | InsertDataForLearning (const Feature &feature, const std::vector< double > &feature_values, const std::vector< std::string > &string_feature_values, const std::string &category, const LaneSequence *lane_sequence_ptr) |
|
static void | InsertPredictionResult (const Obstacle *obstacle, const PredictionObstacle &prediction_obstacle, const ObstacleConf &obstacle_conf, const Scenario &scenario) |
| Insert a prediction result with predicted trajectories. More...
|
|
static void | InsertFrameEnv (const FrameEnv &frame_env) |
| Insert a frame env. More...
|
|
static void | InsertDataForTuning (const Feature &feature, const std::vector< double > &feature_values, const std::string &category, const LaneSequence &lane_sequence, const std::vector< apollo::common::TrajectoryPoint > &adc_trajectory) |
| Insert a data_for_tuning. More...
|
|
static void | WriteFeatureProto () |
| Write features to a file. More...
|
|
static void | WriteDataForLearning () |
| Write DataForLearning features to a file. More...
|
|
static void | WritePredictionResult () |
| Write PredictionResult to a file. More...
|
|
static void | WriteFrameEnv () |
| Write frame env to a file. More...
|
|
static void | WriteDataForTuning () |
| Write DataForTuning features to a file. More...
|
|
static int | Size () |
| Get feature size. More...
|
|
static int | SizeOfDataForLearning () |
| Get the size of data_for_learning features. More...
|
|
static int | SizeOfPredictionResult () |
| Get the size of prediction results. More...
|
|
static int | SizeOfFrameEnv () |
| Get the size of frame env. More...
|
|
static int | SizeOfDataForTuning () |
| Get the size of data for tuning. More...
|
|
◆ FeatureOutput()
apollo::prediction::FeatureOutput::FeatureOutput |
( |
| ) |
|
|
delete |
◆ Clear()
static void apollo::prediction::FeatureOutput::Clear |
( |
| ) |
|
|
static |
◆ Close()
static void apollo::prediction::FeatureOutput::Close |
( |
| ) |
|
|
static |
◆ InsertDataForLearning() [1/2]
static void apollo::prediction::FeatureOutput::InsertDataForLearning |
( |
const Feature & |
feature, |
|
|
const std::vector< double > & |
feature_values, |
|
|
const std::string & |
category, |
|
|
const LaneSequence * |
lane_sequence_ptr |
|
) |
| |
|
static |
Insert a data_for_learning.
- Parameters
-
◆ InsertDataForLearning() [2/2]
static void apollo::prediction::FeatureOutput::InsertDataForLearning |
( |
const Feature & |
feature, |
|
|
const std::vector< double > & |
feature_values, |
|
|
const std::vector< std::string > & |
string_feature_values, |
|
|
const std::string & |
category, |
|
|
const LaneSequence * |
lane_sequence_ptr |
|
) |
| |
|
static |
◆ InsertDataForTuning()
static void apollo::prediction::FeatureOutput::InsertDataForTuning |
( |
const Feature & |
feature, |
|
|
const std::vector< double > & |
feature_values, |
|
|
const std::string & |
category, |
|
|
const LaneSequence & |
lane_sequence, |
|
|
const std::vector< apollo::common::TrajectoryPoint > & |
adc_trajectory |
|
) |
| |
|
static |
Insert a data_for_tuning.
- Parameters
-
A | feature in proto |
values | for tuning |
category | of the data |
lane | sequence |
adc | trajectory |
◆ InsertFeatureProto()
static void apollo::prediction::FeatureOutput::InsertFeatureProto |
( |
const Feature & |
feature | ) |
|
|
static |
Insert a feature.
- Parameters
-
◆ InsertFrameEnv()
static void apollo::prediction::FeatureOutput::InsertFrameEnv |
( |
const FrameEnv & |
frame_env | ) |
|
|
static |
Insert a frame env.
- Parameters
-
◆ InsertPredictionResult()
static void apollo::prediction::FeatureOutput::InsertPredictionResult |
( |
const Obstacle * |
obstacle, |
|
|
const PredictionObstacle & |
prediction_obstacle, |
|
|
const ObstacleConf & |
obstacle_conf, |
|
|
const Scenario & |
scenario |
|
) |
| |
|
static |
Insert a prediction result with predicted trajectories.
- Parameters
-
Obstacle | id |
prediction_obstacle | |
obstacle_conf | |
scenario | |
◆ Ready()
static bool apollo::prediction::FeatureOutput::Ready |
( |
| ) |
|
|
static |
Check if output is ready.
- Returns
- True if output is ready
◆ Size()
static int apollo::prediction::FeatureOutput::Size |
( |
| ) |
|
|
static |
Get feature size.
- Returns
- Feature size
◆ SizeOfDataForLearning()
static int apollo::prediction::FeatureOutput::SizeOfDataForLearning |
( |
| ) |
|
|
static |
Get the size of data_for_learning features.
- Returns
- The size of data_for_learning features.
◆ SizeOfDataForTuning()
static int apollo::prediction::FeatureOutput::SizeOfDataForTuning |
( |
| ) |
|
|
static |
Get the size of data for tuning.
- Returns
- The size of data for tuning.
◆ SizeOfFrameEnv()
static int apollo::prediction::FeatureOutput::SizeOfFrameEnv |
( |
| ) |
|
|
static |
Get the size of frame env.
- Returns
- The size of frame env.
◆ SizeOfPredictionResult()
static int apollo::prediction::FeatureOutput::SizeOfPredictionResult |
( |
| ) |
|
|
static |
Get the size of prediction results.
- Returns
- The size of prediction results.
◆ WriteDataForLearning()
static void apollo::prediction::FeatureOutput::WriteDataForLearning |
( |
| ) |
|
|
static |
Write DataForLearning features to a file.
◆ WriteDataForTuning()
static void apollo::prediction::FeatureOutput::WriteDataForTuning |
( |
| ) |
|
|
static |
Write DataForTuning features to a file.
◆ WriteFeatureProto()
static void apollo::prediction::FeatureOutput::WriteFeatureProto |
( |
| ) |
|
|
static |
Write features to a file.
◆ WriteFrameEnv()
static void apollo::prediction::FeatureOutput::WriteFrameEnv |
( |
| ) |
|
|
static |
Write frame env to a file.
◆ WritePredictionResult()
static void apollo::prediction::FeatureOutput::WritePredictionResult |
( |
| ) |
|
|
static |
Write PredictionResult to a file.
The documentation for this class was generated from the following file: