Optimal Gap Sequences in Shellsort for n≤16 Elements

12/21/2021
by   Ying Wai Lee, et al.
0

Optimal gap sequences in Shellsort, defined as gap sequences having the minimised maximum number of comparisons for a fixed number of pairwise distinct elements, are found by minimax search in reduced permutational spaces, namely Bad (s,1)-sorted permutations. Exact optimal gap sequences in Shellsort for n≤16 pairwise distinct elements are established, and the best known gap sequences for 17≤ n≤ 30 are listed with conjectures made. It notably discovers some optimal gap sequences consist of increments larger than the half of the total number of the elements to sort.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/24/2023

Distinct Elements in Streams: An Algorithm for the (Text) Book

Given a data stream 𝒟 = ⟨ a_1, a_2, …, a_m ⟩ of m elements where each a_...
research
12/21/2021

Empirically Improved Tokuda Gap Sequence in Shellsort

Experiments are conducted to improve Tokuda (1992) gap sequence in Shell...
research
06/09/2021

Incremental space-filling design based on coverings and spacings: improving upon low discrepancy sequences

The paper addresses the problem of defining families of ordered sequence...
research
02/03/2020

A lower bound on the number of inequivalent APN functions

In this paper, we establish a lower bound on the total number of inequiv...
research
01/25/2021

Constant Amortized Time Enumeration of Eulerian trails

In this paper, we consider enumeration problems for edge-distinct and ve...
research
01/01/2023

Optimization Perspectives on Shellsort

Shellsort is a sorting method that is attractive due to its simplicity, ...
research
10/09/2019

Implementation of irreducible Sobol sequences in prime power bases

We present different implementations for the irreducible Sobol (IS) sequ...

Please sign up or login with your details

Forgot password? Click here to reset