Skip to main content

AVxcelerate Simulation Framework 2025 R1

distance_calculator

Last update: 16.07.2025
1 
3 
4 #pragma once
5 
6 #include <avx_osi_groundtruth.pb.h>
7 #include <optional>
8 
9 namespace simulation_framework
10 {
11 namespace evaluator
12 {
13 
15 
30 {
31  public:
32  double Calculate(const avx_osi3::GroundTruth& ground_truth);
33 
34  private:
35  std::optional<double> last_xpos_;
36  std::optional<double> last_ypos_;
37  bool is_initialized_{false};
38 };
39 
40 } // namespace evaluator
41 } // namespace simulation_framework

Connect with Ansys