Skip to main content
class DistanceDrivenEvaluator #include <distance_driven_evaluator.h> Inheritance diagram for simulation_framework::evaluator::DistanceDrivenEvaluator: Inheritance graph [legend] Collaboration diagram for simulation_framework::evaluator::DistanceDrivenEvaluator: Collaboration graph [legend]

Public Member Functions

Public Member Functions inherited from simulation_framework::core::kpi::IKpi< osi3::GroundTruth >

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. Definition at line 29 of file distance_driven_evaluator.h.

Constructor & Destructor Documentation

DistanceDrivenEvaluator()

Definition at line 11 of file distance_driven_evaluator.cpp.

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 22 of file distance_driven_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 a kpi::Type enum value.
Implements simulation_framework::core::kpi::IKpi< osi3::GroundTruth >. Definition at line 39 of file distance_driven_evaluator.cpp.

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 15 of file distance_driven_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 17 of file distance_driven_evaluator.cpp.
The documentation for this class was generated from the following files: