Abstract
The computational complexity of counting the number of matchings of size k in a given triple set has been open. It is conjectured that the problem is not fixed parameter tractable. In this paper, we present a fixed parameter tractable randomized approximation scheme (FPTRAS) for the problem. More precisely, we develop a randomized algorithm that, on given positive real numbers ε and δ, and a given set S of n triples and an integer k, produces a number h in time O(5.483k n 2ln (2/δ)/ε 2) such that
where h 0 is the total number of matchings of size k in the triple set S. Our algorithm is based on the recent improved color-coding techniques and the Monte-Carlo self-adjusting coverage algorithm developed by Karp, Luby and Madras.
Similar content being viewed by others
References
Alon, N., Yuster, R., Zwick, U.: Color-coding. J. ACM 42, 844–856 (1995)
Arvind, V., Raman, V.: Approximation algorithms for some parameterized counting problems. In: Proc. 13th International Symposium on Algorithms and Computation (ISAAC 02), Lecture Notes in Computer Science, vol. 2518, pp. 453–464. Springer, Berlin (2002)
Bayati, M., Gamarnik, D., Katz, D., Nair, C., Tetali, P.: Simple deterministic approximation algorithms for counting matchings. In: Proc. 39th Symposium on Theory of Computing (STOC 07), pp. 122–127 (2007)
Chen, J., Lu, S., Sze, S.-H., Zhang, F.: Improved algorithms for path, matching, and packing problems. In: Proc. 18th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 07), pp. 298–307 (2007)
Chien, S.: A determinant-based algorithm for counting perferct matchings in a general graph. In: Proc. 15th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 04), pp. 728–735 (2004)
Flum, J., Grohe, M.: The parameterized complexity of counting problems. SIAM J. Comput. 33, 892–922 (2004)
Fellows, M., Knauer, C., Nishimura, N., Ragde, P., Rosamond, F., Stege, U., Thilikos, D., Whitesides, S.: Faster fixed-parameter tractable algorithms for matching and packing problems. In: Proc. 12th Annual European Symposium on Algorithms (ESA 04). Lecture Notes in Computer Science, vol. 3221, pp. 311–322. Springer, Berlin (2004)
Garey, M., Johnson, D.: Computers and Intractability: A Guide to the Theory of NP-Completeness. Freeman, New York (1979)
Koutis, I.: A faster parameterized algorithm for set packing. Inf. Process. Lett. 94, 7–9 (2005)
Karp, R., Luby, M., Madras, N.: Monte-Carlo approximation algorithms for enumeration problems. J. Algorithms 10, 429–448 (1989)
Sankowski, P.: Alternative algorithms for counting all matchings in graph. In: Proc. 20th Annual Symposium on Theoretical Aspects of Computer Science (STACS 03). Lecture Notes in Computer Science, vol. 2607, pp. 427–438. Springer, Berlin (2003)
Liu, Y., Lu, S., Chen, J., Sze, S.-H.: Greedy localization and color-coding: improved matching and packing algorithms. In: Proc. 2nd International Workshop on Parameterized and Exact Computation (IWPEC 06). Lecture Notes in Computer Science, vol. 4169, pp. 84–95. Springer, Berlin (2006)
Vadhan, S.: The complexity of counting in sparse, regular, and planar graphs. SIAM J. Comput. 31, 398–427 (2002)
Valiant, L.: The complexity of enumeration and reliability problems. SIAM J. Comput. 8, 410–421 (1979)
Valiant, L.: The complexity of computing the permanent. Theor. Comput. Sci. 8, 189–201 (1979)
Author information
Authors and Affiliations
Corresponding author
Additional information
A preliminary version of this paper was presented at The 13th Annual International Computing and Combinatorics Conference (COCOON 2007), July 16–19, 2007, Banff, Alberta, Canada. This work is supported by the National Natural Science Foundation of China (No. 60433020 and No. 60773111), by the National Basic Research 973 Program of China (No. 2008CB317107), and by the China Program for New Century Excellent Talents in University (NCET-05-0683).
Rights and permissions
About this article
Cite this article
Liu, Y., Chen, J. & Wang, J. On Counting 3-D Matchings of Size k . Algorithmica 54, 530–543 (2009). https://doi.org/10.1007/s00453-008-9207-x
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00453-008-9207-x