加载中…
We consider the following problem that we call the Shortest Two Disjoint Paths problem: given an undirected graph with edge weights , two terminals and in , find two internally vertex-disjoint paths between and with minimum total weight. As shown recently by Schlotter and Sebő (2022), this problem becomes NP-hard if edges can have negative weights, even if the weight function is conservative, there are no cycles in with negative total weight. We propose a polynomial-time algorithm that solves the Shortest Two Disjoint Paths problem for conservative weights in the case when the negative-weight edges form a constant number of trees in .

生成讲解博客的中文版本

生成AI智能校验的中文版本