Please use this identifier to cite or link to this item: http://ir.lib.seu.ac.lk/handle/123456789/7908
Full metadata record
DC FieldValueLanguage
dc.contributor.authorSeema Akthera, M. F. F.-
dc.contributor.authorRaviraj, Y.-
dc.date.accessioned2026-04-23T12:48:28Z-
dc.date.available2026-04-23T12:48:28Z-
dc.date.issued2025-10-30-
dc.identifier.citationConference Proceedings of 14th Annual Science Research Session – 2025 on “NEXT-GEN SOLUTIONS: Bridging Science and Sustainability” on October 30th 2025. Faculty of Applied Sciences, South Eastern University of Sri Lanka, Sammanthurai.. pp. 44.en_US
dc.identifier.isbn978-955-627-146-1-
dc.identifier.urihttp://ir.lib.seu.ac.lk/handle/123456789/7908-
dc.description.abstractGraph theory is a fundamental area of discrete mathematics concerned with modeling relationships between objects using vertices and edges. One of the most significant applications of graph theory is solving shortest path problems, which involve finding the minimum-cost route between two or more nodes in a network. Efficient algorithms for this purpose are essential in fields such as computer networks, transportation, and operations research. This research provides a comparative analysis of the Prim and Dijkstra algorithms, focusing on their application to the shortest path problem. While Prim's algorithm is primarily known for constructing Minimum Spanning Trees (MSTs), this study investigates its capability and efficiency in finding the shortest path between nodes in a graph. Dijkstra's algorithm, a standard for shortest path computations, is used as a comparative basis. The research highlights that while Dijkstra's algorithm is well-suited for finding the shortest path from a single source to all other nodes, Prim's algorithm, when adapted, can also yield optimal paths. A key part of this study is the examination of Mean Active Edges (MAE), which represents the average number of edges used during path construction, and Mean Cost (MC), which indicates the average total weight or cost of the paths found. The analysis also explores how both algorithms manage “active edges” during their execution. Prim’s algorithm uses a greedy approach, adding the smallest available edge that connects a new vertex to the growing tree, while avoiding cycles and ensuring connectivity. In contrast, Dijkstra’s algorithm expands paths by updating distances and maintaining a set of visited nodes to ensure the shortest routes are found. The study evaluates how the selection and management of these active edges impact the overall performance, speed, and accuracy of both algorithms in solving the shortest path problem, offering insights into their practical implications for real-world routing scenarios.en_US
dc.language.isoen_USen_US
dc.publisherFaculty of Applied Sciences, South Eastern University of Sri Lanka, Sammanthurai.en_US
dc.subjectPrim Algorithmen_US
dc.subjectDijkstra Algorithmen_US
dc.subjectShortest Path Problemen_US
dc.subjectMean Active Edges (MAE)en_US
dc.subjectMean Cost (MC)en_US
dc.titleComparative analysis of Prim and Dijkstra algorithms in shortest path problemsen_US
dc.typeArticleen_US
Appears in Collections:14th Annual Science Research Session

Files in This Item:
File Description SizeFormat 
ASRS2025-Original-74.pdf145.41 kBAdobe PDFView/Open


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.