EconPapers    
Economics at your fingertips  
 

A NOVEL LINEAR ALGORITHM FOR SHORTEST PATHS IN NETWORKS

Dragan Vasiljevic () and Milos Danilovic ()
Additional contact information
Dragan Vasiljevic: Department of Operations Management, Faculty of Organizational Sciences, University of Belgrade, Serbia
Milos Danilovic: Department of Operations Management, Faculty of Organizational Sciences, University of Belgrade, Serbia

Asia-Pacific Journal of Operational Research (APJOR), 2013, vol. 30, issue 02, 1-25

Abstract: We present two new linear algorithms for the single source shortest paths problem. The worst case running time of the first algorithm is O(m + C log C), where m is the number of edges of the input network and C is the ratio of the largest and the smallest edge weight. The pseudo-polynomial character of the time dependence can be overcome by the fact that Dijkstra's kind of shortest paths algorithms can be implemented "from the middle", when the shortest paths to the source are known in advance for a subset of the network vertices. This allows the processing of a subset of the edges with the proposed algorithm and processing of the rest of the edges with any Dijkstra's kind algorithm afterwards. Partial implementation of the algorithm enabled the construction of a second, highly efficient and simple linear algorithm. The proposed algorithm is efficient for all classes of networks and extremely efficient for networks with small C. The decision which classes of networks are most suitable for the proposed approach can be made based on simple parameters. Experimental efficiency analysis shows that this approach significantly reduces total computing time.

Keywords: Single source problem; priority queues; weight ratio; heaps; buckets (search for similar items in EconPapers)
Date: 2013
References: View complete reference list from CitEc
Citations:

Downloads: (external link)
http://www.worldscientific.com/doi/abs/10.1142/S0217595912500546
Access to full text is restricted to subscribers

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:wsi:apjorx:v:30:y:2013:i:02:n:s0217595912500546

Ordering information: This journal article can be ordered from

DOI: 10.1142/S0217595912500546

Access Statistics for this article

Asia-Pacific Journal of Operational Research (APJOR) is currently edited by Gongyun Zhao

More articles in Asia-Pacific Journal of Operational Research (APJOR) from World Scientific Publishing Co. Pte. Ltd.
Bibliographic data for series maintained by Tai Tone Lim ().

 
Page updated 2025-03-20
Handle: RePEc:wsi:apjorx:v:30:y:2013:i:02:n:s0217595912500546