Searching for a subset of counterfeit coins: Randomization vs determinism and adaptiveness vs non-adaptiveness

  • Authors:
  • Gianluca De Marco;Dariusz R. Kowalski

  • Affiliations:
  • Dipartimento di Informatica, Università di Salerno, 84084 Fisciano (SA), Italy;Department of Computer Science, University of Liverpool, Liverpool L69 3BX, UK

  • Venue:
  • Random Structures & Algorithms
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

We are given n coins of which k are heavy (defective), while the remaining n - k are light (good). We know both the weight of the good coins and the weight of the defective ones. Therefore, if we weigh a subset Q ⊆ S with a spring scale, then the outcome will tell us exactly the number of defectives contained in Q. The problem, known as Counterfeit Coins problem, is to identify the set of defective coins by minimizing the number of weighings, also called queries. It is well known that Θ(klog k +1(n/k)) queries are enough, even for non-adaptive algorithms, in case k ≤ cn for some constant 0 c A natural interesting generalization arises when we are required to identify any subset of m ≤ k defectives. We show that while for randomized algorithms \documentclass{article}\usepackage{mathrsfs, amsmath, amssymb}\pagestyle{empty}\begin{document}\begin{align*}\tilde{\Theta}(m)\end{align*} \end{document} **image** queries are sufficient, the deterministic non-adaptive counterpart still requires Θ(klog k +1(n/k)) queries, in case k ≤ n/28; therefore, finding any subset of defectives is not easier than finding all of them by a non-adaptive deterministic algorithm. © 2012 Wiley Periodicals, Inc. Random Struct. Alg., 2012 (A preliminary version of this work appeared in Proceedings of the 30th International Conference on Distributed Computing Systems (ICDCS), 2010.)