Back to search

Freie Universität Berlin

Search trees on graphs

Abstract

dc:description.abstract

Search trees on graphs (STGs) are a far-reaching generalization of binary search trees (BSTs), where the key space is a graph instead of a totally ordered set. Intuitively, instead of comparing keys, we compare vertices, which tells us their relative position in the graph. STGs can alternatively be seen as (1) a data structure for vertex searching that can be built on top of certain graphs that support vertex comparisons (e.g., quadtrees) or (2)~as a hierarchical decomposition of the underlying graph. For the latter purpose, search trees have appeared in the literature under different names (e.g., elimination trees and spines), and there are strong connections to the ubiquitous notions of tree-depth and tree-width. Many computational and combinatorial questions about BSTs naturally generalize to the STG setting. In this thesis, we concentrate on the following three. Suppose we are given a query distribution and want to compute the search tree that minimizes the expected search time. This is the optimal static search tree problem. Computing optimal static BSTs is possible in quadratic time, but for STGs no polynomial-time algorithm is known, even when the underlying graph is a tree. We discuss multiple approximation algorithms for trees and graphs of bounded tree-width, as well as NP-hardness of the problem in the general case. In contrast to static search trees, which cannot be modified after construction, dynamic search trees may be restructured after each search using the rotation operation. We generalize the well-known Splay algorithm from BSTs to STGs in the special case where the underlying graph is a tree. We also use that algorithm for a dynamic forest data structure, including an implementation and its experimental evaluation. Finally, the rotation distance between two STGs is the minimum number of rotations needed to transform one into the other. We are interested in the maximum rotation distance for a given underlying graph, which is exactly the diameter of the so-called graph associahedron of the underlying graph. Somewhat surprisingly, there is a tight connection between this combinatorial problem and the static and dynamic search tree problems. We present several new results, including a simple algorithm to compute the diameter of a graph associahedron when the underlying graph is a tree of bounded path-width.

Degree

thesis:*
Department dc:contributor.department
Mathematik und Informatik
Year dc:date.issued
2024

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Berendsohn, Benjamin Aram
Committee members dc:contributor.committeemember
  • Kozma, László
  • Cardinal, Jean

Subjects

dc:subject × 7

Rights

dc:rights.accessrights
Statement dc:rights.accessrights
  • open access
Language dc:language
eng

Identifiers

dc:identifier.*
URN
urn:nbn:de:kobv:188-refubium-45994-3

Chain of custody

source
Harvested from
Freie Universität Berlin
Base URL
refubium.fu-berlin.de/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Berendsohn, Benjamin Aram. Search trees on graphs. 2024. https://refubium.fu-berlin.de/handle/fub188/45994