Toward a Deterministic Polynomial Time Algorithm with Optimal Additive Query Complexity

  • Nader H. Bshouty
  • Hanna Mazzawi
Conference paper

DOI: 10.1007/978-3-642-15155-2_21

Part of the Lecture Notes in Computer Science book series (LNCS, volume 6281)
Cite this paper as:
Bshouty N.H., Mazzawi H. (2010) Toward a Deterministic Polynomial Time Algorithm with Optimal Additive Query Complexity. In: Hliněný P., Kučera A. (eds) Mathematical Foundations of Computer Science 2010. MFCS 2010. Lecture Notes in Computer Science, vol 6281. Springer, Berlin, Heidelberg

Abstract

In this paper, we study two combinatorial search problems: The coin weighing problem with a spring scale (also known as the vector reconstructing problem using additive queries) and the problem of reconstructing weighted graphs using additive queries. Suppose we are given n identical looking coins. Suppose that m out of the n coins are counterfeit and the rest are authentic. Assume that we are allowed to weigh subsets of coins with a spring scale. It is known that the optimal number of weighing for identifying the counterfeit coins and their weights is at least
$$\Omega\left(\frac{m\log n}{\log m}\right).$$
We give a deterministic polynomial time adaptive algorithm for identifying the counterfeit coins and their weights using
$$ O\left(\frac{m\log n}{\log m}+ m\log \log m\right) $$
weighings, assuming that the weight of the counterfeit coins are greater than the weight of the authentic coin. This algorithm is optimal when m ≤ nc/loglogn, where c is any constant. Also our weighing complexity is within loglogm times the optimal complexity for all m.

To obtain this result, our algorithm makes use of search matrices, the divide and conquer approach and the guess and check approach.

When combining these methods with the technique introduced in [Optimally Reconstructing Weighted Graphs Using Queries. SODA, 2010], we get a similar positive result for the problem of reconstructing a hidden weighted graph using additive queries.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag Berlin Heidelberg 2010

Authors and Affiliations

  • Nader H. Bshouty
    • 1
  • Hanna Mazzawi
    • 1
  1. 1.Technion - Israel Institute of Technology 

Personalised recommendations