Research Article Open Access

Optimized Earthquake Evacuation Routes Using Dijkstra's Algorithm and WinQSB

Sandra Huarcaya Gonzales1, Hugo Vega-Huerta1, Gisella Luisa Elena Maquen-Niño2, Percy De-la-Cruz-VdV 1, Santiago Domingo Moquillaza-Henríquez1, Oscar Benito-Pacheco1, Javier Cabrera-Diaz1 and Juan Carlos Lázaro-Guillermo3
  • 1 Department of Computer Science, Universidad Nacional Mayor de San Marcos (UNMSM), Lima, Peru
  • 2 Department of Electronic and Computing Engineering, Universidad Nacional Pedro Ruiz Gallo (UNPRG), Lambayeque, Peru
  • 3 Department of Basic Sciences, Universidad Nacional Intercultural de la Amazonia (UNIA), Ucayali, Peru

Abstract

This research analyzes and generates optimal evacuation routes in the Barranco district during earthquake scenarios using the Dijkstra algorithm implemented through WinQSB. A preliminary review was conducted to establish key concepts related to earthquake dynamics, evacuation route planning, and the application of Dijkstra’s algorithm. Given its high seismic exposure and the prevalence of aging infrastructure, Barranco is considered highly vulnerable to earthquake impacts. Based on this context, a detailed graph-based model of the district’s road network and designated assembly points was constructed and processed using WinQSB to determine the most efficient evacuation paths. Variables such as distance and estimated walking time were incorporated into the analysis. The application of Dijkstra’s algorithm produced minimum-route solutions, reducing evacuation distances by approximately 30% and yielding estimated evacuation times between 2.36 and 9.24 minutes across the district’s different zones. Route calculations were completed in under one second per node pair, demonstrating the method’s appropriateness for small to medium-sized urban areas. The study concludes that generating optimized evacuation routes through Dijkstra’s algorithm and WinQSB represents an effective strategy for improving earthquake response planning in Barranco. Additionally, the approach can be adapted to other urban contexts by tailoring the graph model to local conditions, though scalability enhancements would be required for application in larger metropolitan areas.

Journal of Computer Science
Volume 21 No. 10, 2025, 2349-2360

DOI: https://doi.org/10.3844/jcssp.2025.2349.2360

Submitted On: 17 March 2025 Published On: 9 December 2025

How to Cite: Gonzales, S. H., Vega-Huerta, H., Maquen-Niño, G. L. E., De-la-Cruz-VdV , P., Moquillaza-Henríquez, S. D., Benito-Pacheco, O., Cabrera-Diaz, J. & Lázaro-Guillermo, J. C. (2025). Optimized Earthquake Evacuation Routes Using Dijkstra's Algorithm and WinQSB. Journal of Computer Science, 21(10), 2349-2360. https://doi.org/10.3844/jcssp.2025.2349.2360

  • 48 Views
  • 7 Downloads
  • 0 Citations

Download

Keywords

  • Dijkstra Algorithm
  • Estimated Time
  • Minimum Routes
  • Concentration Points
  • WinQSB Software