#include <predictive_min_ttc_evaluator.h>
Inheritance diagram for simulation_framework::evaluator::PredictiveMinTtcEvaluator:


Public Member Functions
Public Member Functions inherited from simulation_framework::core::kpi::IKpi< osi3::GroundTruth >
Public Member Functions inherited from simulation_framework::core::kpi::IKpi< osi3::GroundTruth >
Public Member Functions inherited from simulation_framework::core::kpi::IKpi< osi3::GroundTruth >
Detailed Description
class PredictiveMinTtcEvaluator Definition of PredictiveMinTtcEvaluator class to calculate the minimum time to collision. This will store the lowest value of TTC being observed during one simulation run. Definition at line 30 of file predictive_min_ttc_evaluator.h.Constructor & Destructor Documentation
PredictiveMinTtcEvaluator()
Member Function Documentation
CalculateKpi()
override virtual
Executes the core KPI calculation logic.
Parameters
Returns
The calculated KPI content as a
KpiContent object.
Implements simulation_framework::core::kpi::IKpi< osi3::GroundTruth >.
Definition at line 23 of file predictive_min_ttc_evaluator.cpp.
GetKpiType()
override virtual
Retrieves the KPI type.
Indicates the type of KPI, which can be one of the following:
-
kpi::Type::kScalar: A scalar value with a unit. -
kpi::Type::kTimeSeries: A time series representation. -
kpi::Type::kLog: A continuous log. Returns The type of the KPI as akpi::Typeenum value.
Init()
override virtual
Initializes the KPI logic.
Sets up any necessary state or resources required for KPI calculation.
Implements simulation_framework::core::kpi::IKpi< osi3::GroundTruth >.
Definition at line 16 of file predictive_min_ttc_evaluator.cpp.
Reset()
override virtual
Resets the KPI logic.
Clears temporary data and prepares the KPI logic for a new calculation, especially if the simulation needs to be restarted.
Implements simulation_framework::core::kpi::IKpi< osi3::GroundTruth >.
Definition at line 18 of file predictive_min_ttc_evaluator.cpp.