simulation_framework::evaluator::DistanceDrivenEvaluator Class Reference
Last update: 16.07.2025class DistanceDrivenEvaluator More...
#include <distance_driven_evaluator.h>
Inheritance diagram for simulation_framework::evaluator::DistanceDrivenEvaluator:

Collaboration diagram for simulation_framework::evaluator::DistanceDrivenEvaluator:

Public Member Functions | |
| DistanceDrivenEvaluator (const std::string &kpi_name="driven_dist") | |
| void | Init () override |
| void | Reset () override |
| core::kpi::KpiContent | CalculateKpi (const avx_osi3::GroundTruth &ground_truth) override |
| core::kpi::Type | GetKpiType () const override |
Public Member Functions inherited from simulation_framework::core::kpi::IKpi< avx_osi3::GroundTruth > | |
| virtual kpi::Type | GetKpiType () const=0 |
| Return the KPI type, currently three types are possible: kpi::Type::kScalar, The KPI is scalar value with unit kpi::Type::kTimeSeries, The KPI is a time serie kpi::Type::kLog, The KPI is part of a continuous log. | |
Detailed Description
class DistanceDrivenEvaluator
Definition of DistanceDrivenEvaluator class to To fulfill this we want to implement a KPI evaluator that aggregates the distance driven by the ego vehicle over the course of the simulation.
Member Function Documentation
◆ CalculateKpi()
|
overridevirtual |
Run core logic of KPI calculation
Implements simulation_framework::core::kpi::IKpi< avx_osi3::GroundTruth >.
◆ Init()
|
overridevirtual |
Initialize the logic
Implements simulation_framework::core::kpi::IKpi< avx_osi3::GroundTruth >.
◆ Reset()
|
overridevirtual |
Clean up all stored temp data and be ready for next round of new calculation, in case the simulation needs to be restarted
Implements simulation_framework::core::kpi::IKpi< avx_osi3::GroundTruth >.
The documentation for this class was generated from the following files:
- distance_driven_evaluator.h
- distance_driven_evaluator.cpp
Public Member Functions inherited from