Recursive merge sort with erroneous comparisons

  • Authors:
  • Petros Hadjicostas;K. B. Lakshmanan

  • Affiliations:
  • Department of Mathematics and Statistics, Texas Tech University, Box 41042, Lubbock, TX 79409-1042, USA;Department of Computer Science, The College at Brockport, State University of New York, Brockport, NY 14420, USA

  • Venue:
  • Discrete Applied Mathematics
  • Year:
  • 2011

Quantified Score

Hi-index 0.04

Visualization

Abstract

In this paper, we analyze the recursive merge sort algorithm and quantify the deviation of the output from the correct sorted order if the outcomes of one or more comparisons are in error. The disorder in the output sequence is quantified by four measures: the number of runs, the smallest number of integers that need to be removed to leave the sequence sorted, the number of inversions, and the smallest number of successive exchanges needed to sort the sequence. For input sequences whose length is large compared to the number of errors, a comparison is made between the robustness to errors of bubble sort, straight insertion sort, and recursive merge sort.