Optimally Sorting Evolving Data

05/09/2018
by   Juan Jose Besa, et al.
0

We give optimal sorting algorithms in the evolving data framework, where an algorithm's input data is changing while the algorithm is executing. In this framework, instead of producing a final output, an algorithm attempts to maintain an output close to the correct output for the current state of the data, repeatedly updating its best estimate of a correct output over time. We show that a simple repeated insertion-sort algorithm can maintain an O(n) Kendall tau distance, with high probability, between a maintained list and an underlying total order of n items in an evolving data model where each comparison is followed by a swap between a random consecutive pair of items in the underlying total order. This result is asymptotically optpimal, since there is an Omega(n) lower bound for Kendall tau distance for this problem. Our result closes the gap between this lower bound and the previous best algorithm for this problem, which maintains a Kendall tau distance of O(n log log n) with high probability. It also confirms previous experimental results that suggested that insertion sort tends to perform better than quicksort in practice.

READ FULL TEXT

page 1

page 2

page 3

page 4

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/20/2018

Optimal Sorting with Persistent Comparison Errors

We consider the problem of sorting n elements in the case of persistent ...
research
06/05/2023

Tracking Evolving labels using Cone based Oracles

The evolving data framework was first proposed by Anagnostopoulos et al....
research
06/23/2018

List Decodability of Symbol-Pair Codes

We investigate the list decodability of symbol-pair codes in the present...
research
05/24/2021

A Simple Proof of a New Set Disjointness with Applications to Data Streams

The multiplayer promise set disjointness is one of the most widely used ...
research
10/22/2021

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

We study the connections between sorting and the binary search tree mode...
research
03/30/2022

Optimally Tracking Labels on an Evolving Tree

Motivated by the problem of maintaining data structures for a large sets...

Please sign up or login with your details

Forgot password? Click here to reset