The Log-Interleave Bound: Towards the Unification of Sorting and the BST Model

10/22/2021
by   Guy Blelloch, et al.
0

We study the connections between sorting and the binary search tree model, with an aim towards showing that the fields are connected more deeply than is currently known. The main vehicle of our study is the log-interleave bound, a measure of the information-theoretic complexity of a permutation π. When viewed through the lens of adaptive sorting – the study of lists which are nearly sorted according to some measure of disorder – the log-interleave bound is comparable to the most powerful known measure of disorder. Many of these measures of disorder are themselves virtually identical to well-known upper bounds in the BST model, such as the working set bound or the dynamic finger bound, suggesting a connection between BSTs and sorting. We present three results about the log-interleave bound which solidify the aforementioned connections. The first is a proof that the log-interleave bound is always within a n multiplicative factor of a known lower bound in the BST model, meaning that an online BST algorithm matching the log-interleave bound would perform within the same bounds as the state-of-the-art n-competitive BST. The second result is an offline algorithm in the BST model which uses O(LIB(π)) accesses to search for any permutation π. The technique used to design this algorithm also serves as a general way to show whether a sorting algorithm can be transformed into an offline BST algorithm. The final result is a mergesort algorithm which performs work within the log-interleave bound of a permutation π. This mergesort also happens to be highly parallel, adding to a line of work in parallel BST operations.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/31/2020

Sorting by Prefix Block-Interchanges

We initiate the study of sorting permutations using prefix block-interch...
research
07/05/2023

Sorting Pattern-Avoiding Permutations via 0-1 Matrices Forbidding Product Patterns

We consider the problem of comparison-sorting an n-permutation S that av...
research
11/19/2018

Sorting permutations with a transposition tree

The set of all permutations with n symbols is a symmetric group denoted ...
research
11/12/2021

Random Order Set Cover is as Easy as Offline

We give a polynomial-time algorithm for OnlineSetCover with a competitiv...
research
05/14/2018

Quadratic Time Algorithms Appear to be Optimal for Sorting Evolving Data

We empirically study sorting in the evolving data model. In this model, ...
research
04/10/2022

Optimal Round and Sample-Size Complexity for Partitioning in Parallel Sorting

State-of-the-art parallel sorting algorithms for distributed-memory arch...
research
05/09/2018

Optimally Sorting Evolving Data

We give optimal sorting algorithms in the evolving data framework, where...

Please sign up or login with your details

Forgot password? Click here to reset