© 1991 by British Computer Society
Short Notes
Implementation of Karp-Luby Monte Carlo method: an exercise in approximate counting
Department of Computer and Information Science, Bilkent University, PO Box 8 06572, Maltepe, Ankara, Turkey
Richard Karp and Michael Luby introduced a powerful framework for the construction of Monte Carlo algorithms to solve hard counting problems [cf. Journal of Complexity1 (1), 45-64 (1985)]. They then applied it, as a special case, to the problem of counting the number of satisfying truth-value assignments for a Boolean formula in disjunctive normal form. In this paper, we describe an implementation of that algorithm. Our experiments show that it indeed works very well in practice.
Received June 1987.
* Now at: Department of Computer and Information Science, Bilkent University, PO Box 8 06572, Maltepe, Ankara, Turkey.
Centre for Mathematics and Computer Science (CWI), Kruislaan 413, 1098 SJ Amsterdam, the Netherlands.