Hostname: page-component-6898cfcb55-zsp5v Total loading time: 0 Render date: 2026-11-11T22:11:50.735Z Has data issue: false hasContentIssue false

Random Generation for FinitelyAmbiguous Context-free Languages

Published online by Cambridge University Press:  15 July 2002

Alberto Bertoni
Affiliation:
Dipartimento di Scienze dell'Informazione, Università degli Studi di Milano, via Comelico 39/41, 20135 Milano, Italy; (bertoni@dsi.unimi.it)
Massimiliano Goldwurm
Affiliation:
Dipartimento di Scienze dell'Informazione, Università degli Studi di Milano, via Comelico 39/41, 20135 Milano, Italy; (goldwurm@dsi.unimi.it)
Massimo Santini
Affiliation:
Dipartimento di Scienze Sociali, Cognitive e Quantitative, Università degli Studi di Modena e Reggio Emilia, Via Giglioli Valle, 42100 Reggio Emilia, Italy; (msantini@unimo.it)
Get access

Abstract

We prove that a word of length n from a finitely ambiguous context-free language can be generated at random under uniform distribution in O(n 2 log n) time by a probabilistic random access machine assuming a logarithmic cost criterion.We also show that the same problem can be solved in polynomial time for every language accepted by a polynomial time 1-NAuxPDAwith polynomially bounded ambiguity.

Keywords

Information

Type
Research Article
Copyright
© EDP Sciences, 2001

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable