计算机科学 > 程序设计语言
[提交于 2013年9月20日]
标题:Simulation of Two-Way Pushdown Automata Revisited
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The linear-time simulation of 2-way deterministic pushdown automata (2DPDA) by the Cook and Jones constructions is revisited. Following the semantics-based approach by Jones, an interpreter is given which, when extended with random-access memory, performs a linear-time simulation of 2DPDA. The recursive interpreter works without the dump list of the original constructions, which makes Cook's insight into linear-time simulation of exponential-time automata more intuitive and the complexity argument clearer. The simulation is then extended to 2-way nondeterministic pushdown automata (2NPDA) to provide for a cubic-time recognition of context-free languages. The time required to run the final construction depends on the degree of nondeterminism. The key mechanism that enables the polynomial-time simulations is the sharing of computations by memoization.
提交历史
来自:EPTCS[v1] 2013年9月20日 星期五 01:44:54 UTC