Abstract
This paper concerns the uniform random generation and the approximate counting of combinatorial structures admitting an ambiguous description. We propose a general framework to study the complexity of these problems and present some applications to specific classes of languages. In particular, we give a uniform random generation algorithm for finitely ambiguous context-free languages of the same time complexity of the best known algorithm for the unambiguous case. Other applications include a polynomial time uniform random generator and approximation scheme for the census function of (i) languages recognized in polynomial time by one-way nondeterministic auxiliary pushdown automata of polynomial ambiguity and (ii) polynomially ambiguous rational trace languages.
This work has been supported by MURST Research Program “Unconventional computational models: syntactic and combinatorial methods”.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
A. V. Aho, J. E. Hopcroft, and J. D. Ullman. The Design and Analysis of Computer Algorithms. Addison-Wesley, Reading, MA, 1974.
A. V. Aho and J. D. Ullman. The Theory of Parsing, Translation and Compiling-Vol.I: Parsing. Prentice Hall, Englewood Cliffs, NJ, 1972.
E. Allender, D. Bruschi, and G. Pighizzini. The complexity of computing maximal word functions. Computational Complexity, 3:368–391, 1993.
A. Avellone and M. Goldwurm. Analysis of algorithms for the recognition of rational and context-free trace languages. RAIRO Informatique théorique et Applications/Theoretical Informatics and Applications, 32(4-5-6):141–152, 1998.
A. Bertoni, M. Goldwurm, G. Mauri, and N. Sabadini. Counting techniques for inclusion, equivalence and membership problems. In V. Diekert and G. Rozenberg, editors, The Book of Traces, chapter 5, pages 131–164. World Scientific, Singapore, 1995.
A. Bertoni, M. Goldwurm, and N. Sabadini. The complexity of computing the number of strings of given length in context-free languages. Theoretical Computer Science, 86(2):325–342, 1991.
F.-J. Brandenburg. On one-way auxiliary pushdown automata. In H. Waldschmidt H. Tzschach and H. K.-G. Walter, editors, Proceedings of the 3rd GI Conference on Theoretical Computer Science, volume 48 of Lecture Notes in Computer Science, pages 132–144, Darmstadt, FRG, March 1977. Springer.
C. Choffrut and M. Goldwurm. Rational transductions and complexity of counting problems. Mathematical Systems Theory, 28(5):437–450, 1995.
S. A. Cook. Characterizations of pushdown machines in terms of time-bounded computers. Journal of the ACM, 18(1):4–18, January 1971.
V. Diekert and Y. Métivier. Partial commutation and traces. In G. Rozenberg and A. Salomaa, editors, Handbook on Formal Languages, volume III, pages 457–527. Springer, Berlin-Heidelberg, 1997.
V. Diekert and G. Rozenberg. The Book of Traces. World Scientific, Singapore, 1995.
J. Earley. An efficient context-free parsing algorithm. Communications of the ACM, 13(2):94–102, February 1970.
P. Flajolet. Mathematical methods in the analysis of algorithms and data structures. In Egon Börger, editor, Trends in Theoretical Computer Science, chapter 6, pages 225–304. Computer Science Press, Rockville, Maryland, 1988.
P. Flajolet, P. Zimmerman, and B. Van Cutsem. A calculus for the random generation of labelled combinatorial structures. Theoretical Computer Science, 132(1–2):1–35, 1994.
M. Goldwurm. Random generation of words in an algebraic language in linear binary space. Information Processing Letters, 54(4):229–233, 1995.
V. Gore, M. Jerrum, S. Kannan, Z. Sweedyk, and S. Mahaney. A quasi-polynomial-time algorithm for sampling words from a context-free language. Information and Computation, 134(1):59–74, 10 April 1997.
M. A. Harrison. Introduction to Formal Language Theory. Addison-Wesley, Reading, MA, 1978.
T. Hickey and J. Cohen. Uniform random generation of strings in a context-free language. SIAM Journal on Computing, 12(4):645–655, nov 1983.
W. Hoeffding. Probability inequalities for sums of bounded random variables. Journal of the American Statistical Association, 58:13–30, 1963.
J. E. Hopcroft and J. D. Ullman. Introduction to Automata Theory, Language, and Computation. Addison-Wesley, Reading, MA, 1979.
M. R. Jerrum, L. G. Valiant, and V. V. Vazirani. Random generation of combinatorial structures from a uniform distribution. Theoretical Computer Science, 43(2–3):169–188, 1986.
R. M. Karp, M. Luby, and N. Madras. Monte-carlo approximation algorithms for enumeration problems. Journal of Algorithms, 10:429–448, 1989.
D. E. Knuth and A. C. Yao. The complexity of nonuniform random number generation. In J. F. Traub, editor, Algorithms and Complexity: New Directions and Recent Results, pages 357–428. Academic Press, 1976.
C. Lautemann. On pushdown and small tape. In K. Wagener, editor, Dirk-Siefkes, zum 50. Geburststag (proceedings of a meeting honoring Dirk Siefkes on his fiftieth birthday), pages 42–47. Technische Universität Berlin and Universität Ausgburg, 1988.
H. G. Mairson. Generating words in a context-free language uniformly at random. Information Processing Letters, 49(2):95–99, January 1994.
M. Santini. Random Uniform Generation and Approximate Counting of Combinatorial Structures. PhD thesis, Dipartimento di Scienze dell’Informazione — Università degli Studi di Milano, 1999.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2000 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Bertoni, A., Goldwurm, M., Santini, M. (2000). Random Generation and Approximate Counting of Ambiguously Described Combinatorial Structures. In: Reichel, H., Tison, S. (eds) STACS 2000. STACS 2000. Lecture Notes in Computer Science, vol 1770. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-46541-3_47
Download citation
DOI: https://doi.org/10.1007/3-540-46541-3_47
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-67141-1
Online ISBN: 978-3-540-46541-6
eBook Packages: Springer Book Archive