A O(E) Time Shortest Path Algorithm For Non Negative Weighted Undirected Graphs
Muhammad Aasim Qureshi, Dr. Fadzil B. Hassan, Sohail Safdar, Rehan, Akbar

TL;DR
This paper introduces a simple, efficient O(E) time algorithm for finding shortest paths between two nodes in nonnegative weighted and unweighted undirected graphs, optimized for scenarios where only specific source-destination paths are needed.
Contribution
It presents a novel O(E) time algorithm tailored for quick shortest path computation between two nodes in undirected graphs with nonnegative weights, avoiding complex data structures.
Findings
Algorithm runs in O(E) time for most graphs.
It is simple to implement without complex data structures.
Effective for targeted shortest path queries in large graphs.
Abstract
In most of the shortest path problems like vehicle routing problems and network routing problems, we only need an efficient path between two points source and destination, and it is not necessary to calculate the shortest path from source to all other nodes. This paper concentrates on this very idea and presents an algorithm for calculating shortest path for (i) nonnegative weighted undirected graphs (ii) unweighted undirected graphs. The algorithm completes its execution in O(E) for all graphs except few in which longer path (in terms of number of edges) from source to some node makes it best selection for that node. The main advantage of the algorithms is its simplicity and it does not need complex data structures for implementations.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsComplexity and Algorithms in Graphs · Advanced Graph Theory Research · Optimization and Search Problems
