Skip to search boxSkip to navigationSkip to main content

Fragile Complexity of Adaptive Algorithms

  • ,
  • Rolf Fagerberg
    ,
  • Prosenjit Bose
    ,
  • Pilar Cano
    ,
  • John Iacono
    ,
  • Stefan Langerman
Research Output:
Conference Article in Proceeding or Book/Report chapter
Article in proceedings
Peer-review

Open access

Publication Information

Output type

Research Output:
Conference Article in Proceeding or Book/Report chapter
Article in proceedings
Peer-review

Original language

English

Pages from-to (Number of pages)

Pages 144-157 (14 pages)

Publication milestones

  • Published - 10/05/2021

Publication status

Published - 10/05/2021

Volume

LNCS 12701

Publisher

Springer, United States, Germany

Book series

  • Book series name: LNCS
    Volume: 12701
978-3-030-75241-5

ISBN (Electronic)

978-3-030-75242-2

Publication IDs

  • Scopus: 85106173925

Host publication title

International Conference on Algorithms and Complexity

Abstract

The fragile complexity of a comparison-based algorithm is f(n) if each input element participates in O(f(n)) comparisons. In this paper, we explore the fragile complexity of algorithms adaptive to various restrictions on the input, i.e., algorithms with a fragile complexity parameterized by a quantity other than the input size n. We show that searching for the predecessor in a sorted array has fragile complexity Θ(logk), where k is the rank of the query element, both in a randomized and a deterministic setting. For predecessor searches, we also show how to optimally reduce the amortized fragile complexity of the elements in the array. We also prove the following results: Selecting the kth smallest element has expected fragile complexity O(loglogk) for the element selected. Deterministically finding the minimum element has fragile complexity Θ(log(Inv)) and Θ(log(Runs)), where Inv is the number of inversions in a sequence and Runs is the number of increasing runs in a sequence. Deterministically finding the median has fragile complexity O(log(Runs)+loglogn) and Θ(log(Inv)). Deterministic sorting has fragile complexity Θ(log(Inv)) but it has fragile complexity Θ(logn) regardless of the number of runs.

Publication metrics

PlumX

Citations
1