四重距离是用于比较同一组$n$叶上的两个无根系统发生树的相似性的度量,定义为两个树中由不同拓扑结构相关的四个叶的子集的数量。在一系列先前结果之后,Brodal等人[SODA 2013]提出了一种在$\mathcal{O}(nd\log n)$时间内计算该数的算法,其中$d$是节点的最大度。我们的主要贡献是一个双向的减少,建立计算$n$叶上的两棵树之间的四重距离的复杂性是相同的,多对数因子,作为计数的复杂性,在一个无向简单的图与$m$边缘4-循环。后一个问题已被广泛研究,Vassilevska Williams [SODA 2015]的已知最快算法在$\mathcal{O}(m^{1.48})$时间内工作。事实上,即使对于检测4周期的看似简单的问题,最知名的算法也在$\mathcal{O}(m^{4/3})$时间内工作,并且Yuster和Zwick的猜想暗示这可能是最优的。特别地,用于计算四重距离的几乎线性时间将意味着用于计数4个循环的令人惊讶的高效算法。在另一个方向上,通过插入最先进的算法来计数4个周期,我们的减少使我们能够显着降低计算四重距离的复杂性。对于度为无界的树,我们得到了一个$\mathcal{O}(n^{1.48})$时间算法,它是对以前的$\mathcal{O}(n^{2}\log n)$界的一个实质性改进。对于度由$d$限定的树,通过更仔细地分析约简,我们能够得到一个$\mathcal{\tilde O}(nd^{0.77})$时间算法,这又是对$\mathcal{O}(nd\log n)$上界的一个非平凡改进。
英文摘要:
The quartet distance is a measure of similarity used to compare two unrooted phylogenetic trees on the same set of $n$ leaves, defined as the number of subsets of four leaves related by a different topology in both trees. After a series of previous results, Brodal et al. [SODA 2013] presented an algorithm that computes this number in $\mathcal{O}(nd\log n)$ time, where $d$ is the maximum degree of a node. Our main contribution is a two-way reduction establishing that the complexity of computing the quartet distance between two trees on $n$ leaves is the same, up to polylogarithmic factors, as the complexity of counting 4-cycles in an undirected simple graph with $m$ edges. The latter problem has been extensively studied, and the fastest known algorithm by Vassilevska Williams [SODA 2015] works in $\mathcal{O}(m^{1.48})$ time. In fact, even for the seemingly simpler problem of detecting a 4-cycle, the best known algorithm works in $\mathcal{O}(m^{4/3})$ time, and a conjecture of Yuster and Zwick implies that this might be optimal. In particular, an almost-linear time for computing the quartet distance would imply a surprisingly efficient algorithm for counting 4-cycles. In the other direction, by plugging in the state-of-the-art algorithms for counting 4-cycles, our reduction allows us to significantly decrease the complexity of computing the quartet distance. For trees with unbounded degrees we obtain an $\mathcal{O}(n^{1.48})$ time algorithm, which is a substantial improvement on the previous bound of $\mathcal{O}(n^{2}\log n)$. For trees with degrees bounded by $d$, by analysing the reduction more carefully, we are able to obtain an $\mathcal{\tilde O}(nd^{0.77})$ time algorithm, which is again a nontrivial improvement on the previous bound of $\mathcal{O}(nd\log n)$.
我们认为算法发现和计数小,固定的图形在稀疏的主机图。在非稀疏情况下,参数树深和树宽分别在快速算法、常数空间算法和多项式空间算法中起着至关重要的作用。我们发现了两个新的参数,我们称之为匹配树深和匹配树宽。我们发现,发现和计数模式与低匹配树深和低匹配树宽可以做渐近快于现有的算法时,主机图是稀疏的许多模式。作为一个应用程序,以寻找和计数固定大小的模式,我们发现$\otilde(m^3)$ -时间\footnote{$\otilde$ hides factors that are logarithmic in the input size.},恒定空间算法的周期长度最多$11$和$\otilde(m^2)$ -时间,多项式空间算法的路径长度最多$10$。