variant_inlining_8_SoA_AVX512_polyexp_fastinvsqrt_sr.cpp

This commit is contained in:
[Quy Anh] «Elliot» Nguyen
2026-05-25 14:01:10 +02:00
committed by Linus Baumberger
parent e7c63ea40a
commit 7448281515
5 changed files with 938 additions and 11 deletions
+5 -1
View File
@@ -37,7 +37,11 @@
// @param f : The force under consideration (e.g., the repulsive force from another pedestrian or an obstacle).
// @return The direction-dependent perception weight multiplied by -dt.
//
double w(Vector2d e, Vector2d f);
// pedestrian-pedestrian weighting (full e dot f vs ||f||*cos(phi) check)
double w_ped(Vector2d e, Vector2d f);
// obstacle weighting (cheaper: obstacles are x-axis walls so only f.y matters)
double w_obstacle(Vector2d e, Vector2d f);
// Computes the acceleration term of the social force model
// for pedestrian alpha (Eq. (2) in the paper):