i_evaluator Last update: 16.07.2025 1 5 6 #pragma once 7 8 #include "evaluator/kpi/i_kpi/i_kpi.h" 9 #include <avx_osi_groundtruth.pb.h> 10 11 namespace simulation_framework 12 { 13 namespace evaluator 14 { 15 17 21 class IEvaluator 22 { 23 public: 24 virtual ~IEvaluator() = default; 25 29 virtual void Init() = 0; 30 34 virtual void Reset() = 0; 35 39 virtual void Evaluate() = 0; 40 45 virtual void AddKpi(kpi::IKpiPtr kpi) = 0; 46 51 virtual kpi::KpiMessage GetKpiMessage() const = 0; 52 57 virtual void SetGroundTruth(const avx_osi3::GroundTruth& ground_truth) = 0; 58 }; 59 60 using IEvaluatorPtr = std::unique_ptr<IEvaluator>; 61 62 } // namespace evaluator 63 } // namespace simulation_framework