simulation_framework::evaluator::MinTtcEvaluator Class Reference
Last update: 16.07.2025class MinTtcEvaluator More...
#include <min_ttc_evaluator.h>


Public Member Functions | |
| MinTtcEvaluator (const std::string &kpi_name="min_ttc") | |
| 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 MinTtcEvaluator
Definition of MinTtcEvaluator class to calculate the minimum time to collision. This will store the lowest value of TTC being observed during one simulation run.
class MinTtcEvaluator Definition of MinTtcEvaluator class to calculate the minimum time to collision. This will store the lowest value of TTC being observed during one simulation run.
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:
- min_ttc_evaluator.h
- min_ttc_evaluator.cpp
Public Member Functions inherited from