Abstract
This paper studies the incremental single-source shortest paths (SSSP) problem in general digraphs with arbitrary positive arc weights. First, we examine several properties of single-source shortest paths in general digraphs with arbitrary positive arc weights, and devise a nontrivial local search algorithm LSA to handle a single arc weight increase in such a digraph, which takes at most O(n⋅max{1,nlogn/m}) expected update time where n is the number of nodes and m is the number of arcs in the digraph. LSA also works on undirected graphs.Furthermore, this paper analyzes the expected update time of LSA dealing with edge weight increases or edge deletions in Erdös–Rényi (a.k.a., G(n,p)) random graphs. For weighted G(n,p) random graphs with arbitrary positive edge weights, LSA takes at most O(h(Ts)) expected update time to deal with a single edge weight increase as well as O(pn2h(Ts)) total update time, where h(Ts) is the height of input SSSP tree Ts. For G(n,p) random graphs, LSA takes O(lnn) expected update time to handle a single edge deletion as well as O(pn2lnn) total update time when 20lnn/n≤p<2lnn/n, and O(1) expected update time to handle a single edge deletion as well as O(pn2) total update time when p>2lnn/n. Specifically, LSA takes the least total update time of O(nlnnh(Ts)) for weighted G(n,p) random graphs with p=clnn/n,c>1 as well as O(n3/2(lnn)1/2) for G(n,p) random graphs with p=clnn/n,c>2.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.