HackerPapers

arXiv:2203.03456cs.DS

Negative-Weight Single-Source Shortest Paths in Near-linear Time

Aaron Bernstein, Danupon Nanongkai, Christian Wulff-Nilsen

Abstract

We present a randomized algorithm that computes single-source shortest paths (SSSP) in $O(m\log^8(n)\log W)$ time when edge weights are integral and can be negative. This essentially resolves the classic negative-weight SSSP problem. The previous bounds are $\tilde O((m+n^{1.5})\log W)$ [BLNPSSSW FOCS'20] and $m^{4/3+o(1)}\log W$ [AMV FOCS'20]. Near-linear time algorithms were known previously only for the special case of planar directed graphs [Fakcharoenphol and Rao FOCS'01]. In contrast to all recent developments that rely on sophisticated continuous optimization methods and dynamic algorithms, our algorithm is simple: it requires only a simple graph decomposition and elementary combinatorial tools. In fact, ours is the first combinatorial algorithm for negative-weight SSSP to break through the classic $\tilde O(m\sqrt{n}\log W)$ bound from over three decades ago [Gabow and Tarjan SICOMP'89].

arXiv comments
Journal reference
DOI
Subjects
cs.DSData Structures and Algorithms

On Hacker News

Linked by 5 identifiable commenters in 5 comments across 4 threads, from Jan 2023 to Dec 2023. Found in 3 HN submissions from Nov 2022 to Jan 2023. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments4 threads

  1. The Year in Computer Science 1 comment
    • Relevant Quanta article: https://www.quantamagazine.org/finally-a-fast-algorithm-for-... The CACM article discussed here at the time (just 3 months ago!): https://news.ycombinator.com/item?id=37275676 The relevant paper is https://arxiv.org/abs/2203.03456 and an improvement here…

      ckchengView on HNParent context

    • Negative weight single source shortest paths in near-linear time: https://arxiv.org/abs/2203.03456 Obligatory Quanta link: https://www.quantamagazine.org/finally-a-fast-algorithm-for-...

      curiousgibbonView on HNParent context

    • BNW was in March of last year: https://arxiv.org/abs/2203.03456 Here is my summary of the algorithm from another HN post: https://news.ycombinator.com/item?id=34479148#34481937

      tylerhouView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.