当颜色重要时的树形图和最短路径树
Arborescences and Shortest Path Trees when Colors Matter
AI总结:
研究颜色约束的树形图和最短路径树问题,发现加权有向图上计算颜色约束最短路径树在正权重环条件下可多项式求解,并给出高效算法,推广至最小权重情形。
摘要:
颜色约束子图问题是指给定一个边着色(有向或无向)图,任务是在对每种颜色的边数施加约束的条件下,寻找特定类型的子图,如生成树、树形图、单源最短路径树、完美匹配等。其中一些问题,如颜色约束生成树,有优雅的解法;而另一些问题,如颜色约束完美匹配,则是长期未决的开放问题。在本工作中,我们研究颜色约束的树形图和最短路径树。在加权有向图上计算颜色约束最短路径树,在一般情况下被证明是NP难的,但当所有环路的权重为正时,可以在多项式时间内求解。这种多项式时间可解性源于解空间本质上就是原图的一个有向无环子图的所有颜色约束树形图的集合。虽然寻找有向图的颜色约束树形图在一般情况下是NP难的,但当输入图为无环时,我们给出了高效算法。因此,对于仅具有正权重环的加权有向图,可以高效地计算颜色约束最短路径树。我们的算法也推广到寻找具有最小总权重的颜色约束最短路径树的问题。在此过程中,我们发现了与着色拟阵和颜色约束基的巧妙联系。
英文摘要:
Color-constrained subgraph problems are those where we are given an edge-colored (directed or undirected) graph and the task is to find a specific type of subgraph, like a spanning tree, an arborescence, a single-source shortest path tree, a perfect matching etc., with constraints on the number of edges of each color. Some of these problems, like color-constrained spanning tree, have elegant solutions and some of them, like color-constrained perfect matching, are longstanding open questions. In this work, we study color-constrained arborescences and shortest path trees. Computing a color-constrained shortest path tree on weighted digraphs turns out to be NP-hard in general but polynomial-time solvable when all cycles have positive weight. This polynomial-time solvability is due to the fact that the solution space is essentially the set of all color-constrained arborescences of a directed acyclic subgraph of the original graph. While finding color-constrained arborescence of digraphs is NP-hard in general, we give efficient algorithms when the input graph is acyclic. Consequently, a color-constrained shortest path tree on weighted digraphs having only positive weight cycles can be efficiently computed. Our algorithms also generalize to the problem of finding a color-constrained shortest path tree with minimum total weight. En route, we sight nice connections to colored matroids and color-constrained bases.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。