Abstract
Maximal word functions occur in data retrival applications and have connections with ranking problems i.e. with problems related to data compression. Compute the maximal word function of a string x with respect to a language L ⊑ Σ* consists in determining the lexicographically greatest word belonging to L, which is smaller than or equal to x.
In this paper we investigate the complexity of computing maximal word functions, estabilishing sharp boundaries between classes of languages for which the maximal word function can be efficiently computed and classes of languages for which such a problem seems to be difficult to solve. For example, we will show that the maximal word function for the class of context free languages is in AC2 while for the class of languages accepted by 2-way pushdown automata the maximal word function can be efficiently (polynomially) computed if and only if P = NP. We will also show connections with ranking, detector and constructor functions as introduced in [14]. This paper is a continuation of the study enterprised by many authors ([6], [10], [13] and [14]) with the intention of identifying properties others than membership which are easily computable for certain class of languages.
Extended Abstract
Supported in part by MURST 40%
Supported in part by the ESPRIT Basic Research Action No. 3166: “Algebraic and Syntactic Methods in Computer Science (ASMICS).”
This is a preview of subscription content, log in via an institution.
Preview
Unable to display preview. Download preview PDF.
References
A. V. Aho, J.D. Ullman, The Theory of Parsing, Translation and Compiling, Volume I: Parsing, Prentice-Hall, 1972.
E. Allender, Invertible functions, Ph.D thesis, Georgia Institute of Technology, 1985.
C. Álvarez and B. Jenner, “Logarithmic space counting classes,” Proc. Structure Conference: 154–168, 1990.
J. Balcázar, J. Díaz and J. Gabarró, Structural Complexity I, Springer Verlag, New York, 1987.
A. Bertoni, D. Bruschi and M. Goldwurm, “Ranking and formal power series,” TCS 79: 25–35, 1991.
A. Bertoni, M. Goldwurm and N. Sabadini, “The complexity of computing the number of strings of given length in context free languages,” to appear in TCS.
P. Bonizzoni and D. Bruschi, Manuscript.
S. Cook, “Characterization of pushdown machines in terms of time-bounded computers,” JACM 18: 4–18, 1971.
S. Cook, “A Taxonomy of Problems which have a Fast Parallel Algorithm,” Inf. and Comp. 64: 2–22, 1985.
A. Goldberg and M. Sipser, “Compression and ranking,” Proc. 17-th STOC: 59–68, 1985.
L. Hemachandra, “On ranking”, Proc. Structure Conference: 103–117, 1987.
J. Hopcroft and J. Ullman, Introduction to automata theory, languages and computations, Addison-Wesley, 1979.
D. Huynh, “The complexity of ranking,” Proc. Structure Conference: 204–212, 1988.
D. Huynh, “Efficient detectors and constructors for simple languages,” Tech. Rep. UTCDS-26-90, pp. 20.
M. Jerrum, G. Valiant and V. Vazirani, “Random generation of combinatorial structures from a uniform distribution,” TCS 43: 169–188, 1986.
M. Krentel, “The complexity of optimization problems,”, JCSS 36: 490–509, 1988.
G.L. Miller, V. Ramachandran, E. Kaltofen, “Efficient Parallel Evaluation of Straight-Line Code and Arithmetic Circuits,” SIAM J 17: 687–695, 1988.
L. Sanchis and M. Fulk, “On the efficient generation of languages instances,” SIAM J 19(2): 281–295, 1990.
L. Stockmeyer, U. Vishkin, “Simulation of parallel random access machines by circuits,” SIAM J 13: 409–422, 1984.
L. Valiant, “The complexity of enumeration and reliability problems,” SIAM J 8: 410–412, 1979.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1991 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Bruschi, D., Pighizzini, G. (1991). The complexity of computing maximal word functions. In: Budach, L. (eds) Fundamentals of Computation Theory. FCT 1991. Lecture Notes in Computer Science, vol 529. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-54458-5_60
Download citation
DOI: https://doi.org/10.1007/3-540-54458-5_60
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-54458-6
Online ISBN: 978-3-540-38391-8
eBook Packages: Springer Book Archive