Mathematical modeling is a standard approach to solve many real-world problems and {\em diversity} of solutions is an important issue, emerging in applying solutions obtained from mathematical models to real-world problems. Many studies have been devoted to finding diverse solutions. Baste et al. (Algorithms 2019, IJCAI 2020) recently initiated the study of computing diverse solutions of combinatorial problems from the perspective of fixed-parameter tractability. They considered problems of finding $r$ solutions that maximize some diversity measures (the minimum or sum of the pairwise Hamming distances among them) and gave some fixed-parameter tractable algorithms for the diverse version of several well-known problems, such as {\sc Vertex Cover}, {\sc Feedback Vertex Set}, {\sc $d$-Hitting Set}, and problems on bounded-treewidth graphs. In this work, we investigate the (fixed-parameter) tractability of problems of finding diverse spanning trees, paths, and several subgraphs. In particular, we show that, given a graph $G$ and an integer $r$, the problem of computing $r$ spanning trees of $G$ maximizing the sum of the pairwise Hamming distances among them can be solved in polynomial time. To the best of the authors' knowledge, this is the first polynomial-time solvable case for finding diverse solutions of unbounded size.
A New Fast Weighted All-pairs Shortest Path Search Algorithm Based on Pruning by Shortest Path Trees
最近我们向arXiv提交了一篇论文,题目是A New Fast Unweighted All-pairs Shortest Path Search Algorithm Based on Pruning by Shortest Path Trees。这与未加权图有关。基于同样的思想,本文还提出了一种新的快速赋权图全对最短路径算法。在Dijkstra算法中,相邻顶点的平均访问次数(用α表示)约等于图的平均度。另一方面,我们的算法以与赋权图算法相同的方式利用每个源顶点的相邻顶点的最短路径树,并与Dijkstra算法相比大大降低了α。粗略地说,α被降低到接近1的值,因为树的平均度大约是2,一个用来进来,另一个用来出去,尽管当短路径树的深度很小时,这并不成立。在加权图的情况下,出现了在未加权图中不会出现的问题。它等待生成相邻顶点的最短路径树。因此,有可能发生死锁。我们证明了我们的算法是无死锁的。我们比较了我们的算法与Dijkstra和Peng算法。在Dijkstra算法上,除了在稀疏无标度图上Dijkstra算法略优于我们的算法或在CPU时间上几乎相同外,我们的算法在速度和α上优于它。Peng算法的结果如下:在速度和α上,我们的算法在超立方体和稠密无标度图中优于Peng算法,而在稀疏无标度图中则相反。
字符串中两个索引的最长公共扩展(LCE)是从这两个索引开始的最长相同子串的长度。LCE问题要求将字符串预处理为支持快速LCE查询的紧凑数据结构。在本文中,我们推广的LCE问题的树,并提出了一些应用LCE树尝试和XML数据库。给定一个大小为$n$的带标签和有根树$T$,目标是将$T$预处理成一个紧凑的数据结构,该结构支持$T$中的子路径和子树之间的以下LCE查询。假设$v_1$、$v_2$、$w_1$和$w_2$是$T$的节点,使得$w_1$和$w_2$分别是$v_1$和$v_2$的后代。\begin{itemize} \item $\LCEPP(v_1, w_1, v_2, w_2)$: (path-path $\LCE$) return the longest common prefix of the paths $v_1 \leadsto w_1$ and $v_2 \leadsto w_2$. \item $\LCEPT(v_1, w_1, v_2)$: (path-tree $\LCE$) return maximal path-path LCE of the path $v_1 \leadsto w_1$ and any path from $v_2$ to a descendant leaf. \item $\LCETT(v_1, v_2)$: (tree-tree $…
Polynomial Kernels for Spanning Tree with Diversity Requirements
University of Bergen(卑尔根大学);Indraprastha Institute of Information Technology Delhi(德里因德拉普拉斯塔信息技术学院);The Institute of Mathematical Sciences, HBNI(数学科学研究所,HBNI)
研究了具有多样性要求的生成树问题,提出基于参数 p + q + k + ℓ 和 p + |V_NT| + k + ℓ 的多项式核算法。
The Complexity of Gerrymandering Over Graphs: Paths and Trees
粗略地说,gerrymandering是有系统地操纵选区边界,使一个特定的(政治)政党赢得尽可能多的地区。虽然通常从地理的角度进行研究,解决社交网络结构,但Cohen-Zemach等人最近发起了对图上的选区划分的研究[AAMAS 2018]。解决了Ito等人的三个开放问题。[AAMAS 2019],我们对限制于路径和树的NP-hard问题Gerrymandering over Graphs的计算复杂性进行了分类。我们的结果,这主要是负面的性质(即,最坏情况下的硬度),特别是产生两个复杂的二分法的树木。例如,这个问题对于两方是多项式时间可解的,但对于三方则是弱NP-困难的。此外,我们表明,即使当输入图是一个路径的问题仍然是NP-困难的。