Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleMetrics
Research Article · Open access · Published 9 December 2025

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-VdV1, Santiago Domingo Moquillaza-Henríquez1, Oscar Benito-Pacheco1, Javier Cabrera-Diaz1 & Juan Carlos Lázaro-Guillermo3

Journal of Computer Science, Volume 21, Issue 10, pp. 2349–2360 · doi.org/10.3844/jcssp.2025.2349.2360

2,851 accesses1,338 downloads2 citations (Crossref)Metrics
Cite Check for updates

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.

Licence and reuse

Open access. This article is licensed under a Creative Commons Attribution 3.0 Licence (CC BY 3.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.

How to reuse this article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite this article

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

Licence
CC BY 3.0
Issue
Volume 21, Issue 10
Policies
Editorial independenceUse of generative AIData availabilityAppeals and complaints
Version
Version of record
Optimized Earthquake Evacuation Routes Using Dijkstra's Algorithm and WinQSBJournal of Computer Science · Volume 21, Issue 10 · pp. 2349–2360 · CC BY 3.0Download