普遍最优的递减树极值
Universally Optimal Decremental Tree Minima
AI总结:
本文提出了一种普遍最优的数据结构,用于维护动态森林中每棵树的最小顶点权重,结合路径分解和splay树技术,实现高效处理动态图问题。
摘要:
一种在加权图上运行的算法被称为普遍最优,如果它在所有输入图上都是最优的,最坏情况下的权重分配考虑在内。通俗来说,这意味着该算法在面对只针对特定输入图优化的算法时仍然具有竞争力。普遍最优性最近被引入[Haeppler et al. 2024]作为实例最优性的一种替代方案,但实例最优性通常难以实现。在本文中,我们将普遍最优性概念扩展到数据结构。具体来说,我们研究了以下动态图问题:给定一个顶点加权的森林,维护每棵树的最小顶点权重,在边删除操作下。该问题在一般情况下需要Θ(log n)的摊还时间每操作,但若初始森林是路径,则只需要O(1)的时间。我们提出了一种数据结构,其总运行时间对于每个固定的初始森林和每个固定的操作/查询数量m,在最坏情况下所有权重分配和操作序列长度为m的情况下,具有最优的总运行时间。这种普遍最优性的定义很容易适应到其他数据结构问题。我们的结果结合了两种技术:(1)将输入分解为路径,以利用O(1)时间的路径特定数据结构;以及(2)splay树[Sleator and Tarjan 1985],用于优化处理某个排序相关的子问题。我们应用这种数据结构来解决与笛卡尔树、路径最小查询以及瓶颈顶点/边查询相关的问题,每个问题都具有一定的普遍最优性保证。此外,这种数据结构也可以修改以支持边权重而不是顶点权重。进一步地,它还推广到支持半群求和查询而不是最小查询,以普遍最优的时间完成。
英文摘要:
An algorithm on weighted graphs is called universally optimal if it is optimal for every input graph, in the worst case taken over all weight assignments. Informally, this means the algorithm is competitive even with algorithms that are optimized for only one specific input graph. Universal optimality was recently introduced [Haeupler et al. 2024] as an alternative to the stronger, but often unachievable instance optimality. In this paper, we extend the concept of universal optimality to data structures. In particular, we investigate the following dynamic graph problem: Given a vertex-weighted forest, maintain the minimum-weight vertex of every tree under edge deletions. The problem requires $Θ(\log n)$ amortized time per operation in general, but only $O(1)$ time if the initial forest is a path. We present a data structure that has optimal total running time for every fixed initial forest and every fixed number of operations/queries $m$, when taking the worst case over all weight assignments and operation sequences of length $m$. This definition of universal optimality is easily adapted to other data structure problems. Our result combines two techniques: (1) A decomposition of the input into paths, to take advantage of the $O(1)$-time path-specific data structure; and (2) splay trees [Sleator and Tarjan 1985], which, informally speaking, are used to optimally handle a certain sorting-related subproblem. We apply our data structure to solve problems related to Cartesian trees, path minimum queries, and bottleneck vertex/edge queries, each with a certain universal optimality guarantee. Our data structure also can be modified to support edge weights instead of vertex weights. Further, it generalizes to support semigroup sum queries instead of minimum queries, in universally optimal time.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。