Skip to main content

AVxcelerate Simulation Framework 2024 R2 SP02

simulation_framework::evaluator::PredictiveMinTtcEvaluator Class Reference

Last update: 16.07.2025

class PredictiveMinTtcEvaluator More...

#include <predictive_min_ttc_evaluator.h>

Inheritance diagram for simulation_framework::evaluator::PredictiveMinTtcEvaluator:
Collaboration diagram for simulation_framework::evaluator::PredictiveMinTtcEvaluator:

Public Member Functions

 PredictiveMinTtcEvaluator (const std::string &kpi_name="predictive_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 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.

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.

Member Function Documentation

◆ CalculateKpi()

core::kpi::KpiContent simulation_framework::evaluator::PredictiveMinTtcEvaluator::CalculateKpi ( const avx_osi3::GroundTruth &  input)
overridevirtual

Run core logic of KPI calculation

Implements simulation_framework::core::kpi::IKpi< avx_osi3::GroundTruth >.

◆ Init()

void simulation_framework::evaluator::PredictiveMinTtcEvaluator::Init ( )
overridevirtual

◆ Reset()

void simulation_framework::evaluator::PredictiveMinTtcEvaluator::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:

Connect with Ansys