中文
相关论文

相关论文: Path and Ancestor Queries on Trees with Multidimen…

200 篇论文

The weighted ancestor problem is a well-known generalization of the predecessor problem to trees. It is known to require $\Omega(\log\log n)$ time for queries provided $O(n\mathop{\mathrm{polylog}} n)$ space is available and weights are…

数据结构与算法 · 计算机科学 2021-04-13 Djamal Belazzougui , Dmitry Kosolobov , Simon J. Puglisi , Rajeev Raman

The weighted ancestor problem on a rooted node-weighted tree $T$ is a generalization of the classic predecessor problem: construct a data structure for a set of integers that supports fast predecessor queries. Both problems are known to…

数据结构与算法 · 计算机科学 2024-05-24 Philip Bille , Yakov Nekrich , Solon P. Pissis

The classical, ubiquitous, predecessor problem is to construct a data structure for a set of integers that supports fast predecessor queries. Its generalization to weighted trees, a.k.a. the weighted ancestor problem, has been extensively…

数据结构与算法 · 计算机科学 2014-07-01 Pawel Gawrychowski , Moshe Lewenstein , Patrick K. Nicholson

We consider the problem of augmenting an $n$-vertex tree with one shortcut in order to minimize the diameter of the resulting graph. The tree is embedded in an unknown space and we have access to an oracle that, when queried on a pair of…

数据结构与算法 · 计算机科学 2018-10-03 Davide Bilò

Traditional orthogonal range problems allow queries over a static set of points, each with some value. Dynamic variants allow points to be added or removed, one at a time. To support more powerful updates, we introduce the Grid Range class…

数据结构与算法 · 计算机科学 2021-01-07 Joshua Lau , Angus Ritossa

A decision tree recursively splits a feature space $\mathbb{R}^{d}$ and then assigns class labels based on the resulting partition. Decision trees have been part of the basic machine-learning toolkit for decades. A large body of work treats…

We perform experimental studies on data structures that answer path median, path counting, and path reporting queries in weighted trees. These query problems generalize the well-known range median query problem in arrays, as well as the…

数据结构与算法 · 计算机科学 2020-04-21 Meng He , Serikzhan Kazi

A Level Ancestory query LA($u$, $d$) asks for the the ancestor of the node $u$ at a depth $d$. We present a simple solution, which pre-processes the tree in $O(n)$ time with $O(n)$ extra space, and answers the queries in $O(\log\ {n})$…

数据结构与算法 · 计算机科学 2021-11-09 Gaurav Menghani , Dhruv Matani

Given a rooted tree T, the level ancestor problem aims to answer queries of the form LA(v, d), which identify the level d ancestor of a node v in the tree. Several algorithms of varied complexity have been proposed for this problem in the…

数据结构与算法 · 计算机科学 2021-10-26 Matthew Mabrey , Thomas Caputi , Georgios Papamichail , Dimitris Papamichail

Let R^d -> A be a query problem over R^d for which there exists a data structure S that can compute P(q) in O(log n) time for any query point q in R^d. Let D be a probability measure over R^d representing a distribution of queries. We…

计算几何 · 计算机科学 2010-02-08 Prosenjit Bose , Luc Devroye , Karim Douieb , Vida Dujmovic , James King , Pat Morin

This work generalizes the binary search problem to a $d$-dimensional domain $S_1\times\cdots\times S_d$, where $S_i=\{0, 1, \ldots,n_i-1\}$ and $d\geq 1$, in the following way. Given $(t_1,\ldots,t_d)$, the target element to be found, the…

数据结构与算法 · 计算机科学 2024-04-23 Dariusz Dereniowski , Przemysław Gordinowicz , Karolina Wróbel

We study leaf-to-ancestor path-minimum queries on a rooted, weighted tree in the oracle model, where the only allowed value operation is a comparison oracle on edge (or node) weights. We give a static data structure that, after O(n log h)…

数据结构与算法 · 计算机科学 2026-05-28 Aleksey Upirvitskiy , Aleksandr Levin

We describe a data structure, called a priority range tree, which accommodates fast orthogonal range reporting queries on prioritized points. Let $S$ be a set of $n$ points in the plane, where each point $p$ in $S$ is assigned a weight…

计算几何 · 计算机科学 2010-09-21 Michael T. Goodrich , Darren Strash

A $(1+\varepsilon)$-stretch tree cover of an edge-weighted $n$-vertex graph $G$ is a collection of trees, where every pair of vertices has a $(1+\varepsilon)$-stretch path in one of the trees. The celebrated Dumbbell Theorem by Arya et. al.…

数据结构与算法 · 计算机科学 2025-03-31 Hsien-Chih Chang , Jonathan Conroy , Hung Le , Shay Solomon , Cuong Than

We consider the well-studied pattern counting problem: given a permutation $\pi \in \mathbb{S}_n$ and an integer $k > 1$, count the number of order-isomorphic occurrences of every pattern $\tau \in \mathbb{S}_k$ in $\pi$. Our first result…

数据结构与算法 · 计算机科学 2024-07-09 Gal Beniamini , Nir Lavee

The degree distribution of an ordered tree $T$ with $n$ nodes is $\vec{n} = (n_0,\ldots,n_{n-1})$, where $n_i$ is the number of nodes in $T$ with $i$ children. Let $\mathcal{N}(\vec{n})$ be the number of trees with degree distribution…

数据结构与算法 · 计算机科学 2018-07-03 Dekel Tsur

We consider the following generalization of the binary search problem. A search strategy is required to locate an unknown target node $t$ in a given tree $T$. Upon querying a node $v$ of the tree, the strategy receives as a reply an…

数据结构与算法 · 计算机科学 2017-02-28 Dariusz Dereniowski , Adrian Kosowski , Przemyslaw Uznanski , Mengchuan Zou

We study the complexity and expressive power of conjunctive queries over unranked labeled trees represented using a variety of structure relations such as ``child'', ``descendant'', and ``following'' as well as unary relations for node…

数据库 · 计算机科学 2007-05-23 Georg Gottlob , Christoph Koch , Klaus U. Schulz

In this paper, we present a deterministic variant of Chan's randomized partition tree [Discret. Comput. Geom., 2012]. This result leads to numerous applications. In particular, for $d$-dimensional simplex range counting (for any constant $d…

计算几何 · 计算机科学 2025-07-03 Haitao Wang

We present a randomized algorithm for reconstructing directed rooted trees of $n$ nodes and node degree at most $d$, by asking at most $O(dn\log^2 n)$ path queries. Each path query takes as input an origin node and a target node, and…

数据结构与算法 · 计算机科学 2017-11-20 Zhaosen Wang , Jean Honorio
‹ 上一页 1 2 3 10 下一页 ›