English
Related papers

Related papers: Still Simpler Static Level Ancestors

200 papers

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…

Data Structures and Algorithms · Computer Science 2021-10-26 Matthew Mabrey , Thomas Caputi , Georgios Papamichail , Dimitris Papamichail

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})$…

Data Structures and Algorithms · Computer Science 2021-11-09 Gaurav Menghani , Dhruv Matani

Suppose that a rooted tree T is given for preprocessing. The Level-Ancestor Problem is to answer quickly queries of the following form. Given a vertex v and an integer i > 0, find the i-th vertex on the path from the root to v. Algorithms…

Data Structures and Algorithms · Computer Science 2009-09-08 Amir M. Ben-Amram

This note describes a very simple O(1) query time algorithm for finding level ancestors. This is basically a serial (re)-implementation of the parallel algorithm of Berkman and Vishkin (O.Berkman and U.Vishkin, Finding level-ancestors in…

Data Structures and Algorithms · Computer Science 2024-07-30 Sanjeev Saxena

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…

Data Structures and Algorithms · Computer Science 2024-05-24 Philip Bille , Yakov Nekrich , Solon P. Pissis

Finding the shortest-path distance between two arbitrary vertices is an important problem in road networks. Due to real-time traffic conditions, road networks undergo dynamic changes all the time. Current state-of-the-art methods…

Data Structures and Algorithms · Computer Science 2025-01-30 Henning Koehler , Muhammad Farhan , Qing Wang

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)…

Data Structures and Algorithms · Computer Science 2026-05-28 Aleksey Upirvitskiy , Aleksandr Levin

In the laminar-constrained spanning tree problem, the goal is to find a minimum-cost spanning tree which respects upper bounds on the number of times each cut in a given laminar family is crossed. This generalizes the well-studied…

Data Structures and Algorithms · Computer Science 2023-04-18 Nathan Klein , Neil Olver

We study the problem of designing a \emph{resilient} data structure maintaining a tree under the Faulty-RAM model [Finocchi and Italiano, STOC'04] in which up to $\delta$ memory words can be corrupted by an adversary. Our data structure…

Data Structures and Algorithms · Computer Science 2021-09-21 Luciano Gualà , Stefano Leucci , Isabella Ziccardi

Let $T$ be a rooted tree in which a set $M$ of vertices are marked. The lowest common ancestor (LCA) of $M$ is the unique vertex $\ell$ with the following property: after failing (i.e., deleting) any single vertex $x$ from $T$, the root…

Data Structures and Algorithms · Computer Science 2024-11-26 Asaf Petruschka

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…

Data Structures and Algorithms · Computer Science 2021-04-13 Djamal Belazzougui , Dmitry Kosolobov , Simon J. Puglisi , Rajeev Raman

In the classical Steiner tree problem, given an undirected, connected graph $G=(V,E)$ with non-negative edge costs and a set of \emph{terminals} $T\subseteq V$, the objective is to find a minimum-cost tree $E' \subseteq E$ that spans the…

We present highly optimized data structures for the dynamic predecessor problem, where the task is to maintain a set $S$ of $w$-bit numbers under insertions, deletions, and predecessor queries (return the largest element in $S$ no larger…

Data Structures and Algorithms · Computer Science 2021-04-15 Patrick Dinklage , Johannes Fischer , Alexander Herlez

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…

Data Structures and Algorithms · Computer Science 2014-07-01 Pawel Gawrychowski , Moshe Lewenstein , Patrick K. Nicholson

We introduce Deep Linear Discriminant Analysis (DeepLDA) which learns linearly separable latent representations in an end-to-end fashion. Classic LDA extracts features which preserve class separability and is used for dimensionality…

Machine Learning · Computer Science 2016-02-18 Matthias Dorfer , Rainer Kelz , Gerhard Widmer

This paper presents a new research direction for online Multi-Level Aggregation (MLA) with delays. In this problem, we are given an edge-weighted rooted tree $T$, and we have to serve a sequence of requests arriving at its vertices in an…

Data Structures and Algorithms · Computer Science 2024-10-01 Mathieu Mari , Michał Pawłowski , Runtian Ren , Piotr Sankowski

The prize-collecting Steiner tree problem PCSTP is a well-known generalization of the classical Steiner tree problem in graphs, with a large number of practical applications. It attracted particular interest during the latest (11th) DIMACS…

Optimization and Control · Mathematics 2018-11-26 Daniel Rehfeldt , Thorsten Koch

In a landmark paper, P\v{a}tra\c{s}cu demonstrated how a single lower bound for the static data structure problem of reachability in the butterfly graph, could be used to derive a wealth of new and previous lower bounds via reductions.…

Data Structures and Algorithms · Computer Science 2020-11-03 Kasper Green Larsen , Jonathan Lindegaard Starup , Jesper Steensgaard

We introduce the lazy search tree data structure. The lazy search tree is a comparison-based data structure on the pointer machine that supports order-based operations such as rank, select, membership, predecessor, successor, minimum, and…

Data Structures and Algorithms · Computer Science 2020-10-20 Bryce Sandlund , Sebastian Wild

The Steiner tree problem is a well-known problem in network design, routing, and VLSI design. Given a graph, edge costs, and a set of dedicated vertices (terminals), the Steiner tree problem asks to output a sub-graph that connects all…

Artificial Intelligence · Computer Science 2020-11-10 Johannes K. Fichte , Markus Hecher , Andre Schidler
‹ Prev 1 2 3 10 Next ›