Skip to main content

AVxcelerate Simulation Framework 2024 R2 SP02

simulation_framework::evaluator::MinTtcEvaluator Class Reference

Last update: 16.07.2025

class MinTtcEvaluator More...

#include <min_ttc_evaluator.h>

Inheritance diagram for simulation_framework::evaluator::MinTtcEvaluator:
Collaboration diagram for simulation_framework::evaluator::MinTtcEvaluator:

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()

core::kpi::KpiContent simulation_framework::evaluator::MinTtcEvaluator::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::MinTtcEvaluator::Init ( )
overridevirtual

◆ Reset()

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