Update file main.cpp

This commit is contained in:
Nguyen Quy Anh
2026-03-13 15:39:52 +01:00
parent 145f25b87c
commit 5d43ef05bc
+18 -20
View File
@@ -24,35 +24,35 @@ struct Vector2d {
x = 0;
y = 0;
}
};
};
// Numer of pedestrians
// $n_p$
const int n_p = 100;
// Numer of pedestrians
// $n_p$
const int n_p = 100;
// Number of iterations
// $n_{iter}$
const int n_iter = 100;
// Number of iterations
// $n_{iter}$
const int n_iter = 100;
// TODO: Change this
// $\tau$
const double tau = 0.12345;
// TODO: Change this
// $\tau$
const double tau = 0.12345;
void compute_acceleration_term(Vector2d *F_i) {}
void compute_repulsive_effects_from_pedestrians(Vector2d *F_i) {}
void compute_repulsive_effects_from_borders(Vector2d *F_i) {}
void compute_acceleration_term(Vector2d *F_i) {}
void compute_repulsive_effects_from_pedestrians(Vector2d *F_i) {}
void compute_repulsive_effects_from_borders(Vector2d *F_i) {}
// Return an array of doubles
double *w(Vector2d e, Vector2d f) {
// Return an array of doubles
double *w(Vector2d e, Vector2d f) {
// TODO:
// $cos(60\degree)$
// if (e * f > f.norm() * (0.5)) {
// }
// return 0;
}
}
int main() {
int main() {
// ! DONT TOUCH
@@ -102,6 +102,4 @@ struct Vector2d {
}
return 0;
}
}