Abstract
We want to find the connected components of an unknown graph G with a known vertex set V. We learn about G by sending an oracle a query set S⊂V, and the oracle tells us the vertices connected to S. We want to use the minimum number of queries, adaptively, to find the components. The problem is also known as interconnect diagnosis of wiring networks in VLSI. The graph has n vertices and k components, but k is not part of the input. We present a deterministic algorithm using O(min{k,log n}) queries and a randomized algorithm using expected O(min{k, log k+log log n}) queries. We also prove matching lower bounds.
Preview
Unable to display preview. Download preview PDF.
References
C. C. Chen and F. Hwang. Detecting and locating electrical shorts using group testing. IEEE Trans. on Circuits and Systems 36 (8), pp. 1113–1116, Aug. 1989.
W.-T. Cheng, J. L. Lewandowski and E. Wu. Optimal diagnostic methods for wiring interconnects. IEEE Trans. on Computer-Aided Design 11 (9), pp. 1161–1166, Sept. 1992.
A. Fiat, D. P. Foster, H. Karloff, Y. Rabani, Y. Ravid, and S. Vishwanathan. Competitive algorithms for layered graph traversal. FOCS, pp. 288–297, 1991.
M. Garey, D. Johnson, and H. So. An application of graph coloring to printed circuit testing. IEEE Trans. Circuits and Systems 23 (10), pp. 591–599, Oct. 1976.
N. Jarwala and C. W. Yau. A new framework for analyzing test generation and diagnosis algorithms for wiring interconnect. Proc. International Testing Conference, pp. 63–70, 1989.
R. M. Karp. Probabilistic recurrence relations. J. of ACM 41 (6), Nov. 1994, pp. 1136–1150.
W. H. Kautz. Testing for faults in wiring networks. IEEE Trans. on Computers, 23 (4), pp. 358–363, April 1973.
L. Kavraki, J.-C. Latombe, R. Motwani and P. Raghavan. Randomized query processing in robot motion planning. STOC, 1995.
W. Shi and W. K. Fuchs. Optimal interconnect diagnosis of wiring networks. To appear IEEE Trans. on VLSI Systems, Sept. 1995.
A. Yao, Probabilistic Computations: Towards a Unified Measure of Complexity. Proc. FOCS, pp. 222–227, 1977.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1995 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Shi, W., West, D.B. (1995). Optimal algorithms for finding connected components of an unknown graph. In: Du, DZ., Li, M. (eds) Computing and Combinatorics. COCOON 1995. Lecture Notes in Computer Science, vol 959. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0030827
Download citation
DOI: https://doi.org/10.1007/BFb0030827
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-60216-3
Online ISBN: 978-3-540-44733-7
eBook Packages: Springer Book Archive