Correction: Sarmadi et al. Attention Horizon as a Predictor for the Fuel Consumption Rate of Drivers. Sensors 2022, 22, 2301
Error in Algorithms 1 and 2
Algorithm 1 Finding the set of paths before stopping at red traffic lights during a day for a vehicle | |
Procedure FindPaths(C, S, T) | |
SP ← { i | si ∈ S ∧ si < 1 } | // All point indices with slow vehicle speed |
P←∅ | // P: The set of extracted traffic light paths |
For i ∈ SP | |
If ∄ (R, D) ∈ P such that i ∈ R | |
t ← T(ci) | // t: coordinates of the closest traffic light |
j ← i + 1 | |
While j ≤ N ∧ (dist(cj, t) < dist(cj−1, t) ∧ dist(cj, t) < 50) | // Distance unit is meters |
j ← j + 1 | |
End While | |
If dist(cj₋1, t) < 5 | //Distance unit is meters |
While j > 1 ∧ (j−1 ∈ SP ∨ j ∉ SP) | //Go back to the last slowdown point |
j ← j − 1 | |
End While | |
P ← P ∪ CreatePath(C, j, t, P) | |
Break | |
End If | |
End If | |
End For | |
Return P | |
End Procedure |
Algorithm 2 Creating a path given its closest point to the traffic light | |
Procedure CreatePath(C, j, t, P) | |
k ← 1 | |
dk ← 0 | // dk: Traversed distance to the stopping point at the path’s k-th index |
rk ← j | // rk: The data point index at the path’s k-th index |
While dk < Lp ∧ rk > 1 ∧ [∄ (R, D) ∈ P such that rk−1 ∈ R] | |
k ← k + 1 | |
rk ← rk−1 − 1 | |
dk ← dk−1 + dist(crk, crk−1) | |
End While | |
R ← ⟨r1, r2, ..., rk⟩ | |
D ← ⟨d1, d2, ..., dk⟩ | |
If dk ≥ Lp | // If the path’s traversed distance is greater than Lp |
Return {(R, D)} | |
Else | |
Return ∅ | |
End If | |
End Procedure |
Reference
- Sarmadi, H.; Nowaczyk, S.; Prytz, R.; Simão, M. Attention Horizon as a Predictor for the Fuel Consumption Rate of Drivers. Sensors 2022, 22, 2301. [Google Scholar] [CrossRef] [PubMed]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Sarmadi, H.; Nowaczyk, S.; Prytz, R.; Simão, M. Correction: Sarmadi et al. Attention Horizon as a Predictor for the Fuel Consumption Rate of Drivers. Sensors 2022, 22, 2301. Sensors 2025, 25, 4608. https://doi.org/10.3390/s25154608
Sarmadi H, Nowaczyk S, Prytz R, Simão M. Correction: Sarmadi et al. Attention Horizon as a Predictor for the Fuel Consumption Rate of Drivers. Sensors 2022, 22, 2301. Sensors. 2025; 25(15):4608. https://doi.org/10.3390/s25154608
Chicago/Turabian StyleSarmadi, Hamid, Sławomir Nowaczyk, Rune Prytz, and Miguel Simão. 2025. "Correction: Sarmadi et al. Attention Horizon as a Predictor for the Fuel Consumption Rate of Drivers. Sensors 2022, 22, 2301" Sensors 25, no. 15: 4608. https://doi.org/10.3390/s25154608
APA StyleSarmadi, H., Nowaczyk, S., Prytz, R., & Simão, M. (2025). Correction: Sarmadi et al. Attention Horizon as a Predictor for the Fuel Consumption Rate of Drivers. Sensors 2022, 22, 2301. Sensors, 25(15), 4608. https://doi.org/10.3390/s25154608