Article ID Journal Published Year Pages File Type
426267 Information and Computation 2008 9 Pages PDF
Abstract

We examine two generalizations of 1-deterministic regular languages that are used for the content models of DTDs in XML. They are k-lookahead determinism and k-block-determinism. The k-lookahead determinism uses the first k symbols w1w2⋯wk of the current input string as lookahead to process the first symbol w1. On the other hand, the k-block-determinism takes k w1w2⋯wk as lookahead and process the whole k symbols. We show that there is a hierarchy in k-lookahead determinism and there is a proper hierarchy in k-block-determinism. Moreover, we prove that k-block-deterministic regular languages are a proper subfamily of deterministic k-lookahead regular languages.

Related Topics
Physical Sciences and Engineering Computer Science Computational Theory and Mathematics