再论双向下推自动机的仿真
Simulation of Two-Way Pushdown Automata Revisited
摘要:
重新讨论了Cook和Jones构造的2路确定下推自动机(2DPDA)的线性时间模拟。根据Jones的基于语义的方法,给出了一个解释器,当扩展随机存取存储器时,执行2DPDA的线性时间模拟。递归解释器在没有原始构造的转储列表的情况下工作,这使得Cook对指数时间自动机的线性时间模拟的洞察更加直观,复杂性论证更加清晰。模拟,然后扩展到2路非确定性下推自动机(2NPDA),以提供一个上下文无关的语言的实时识别。运行最终构造所需的时间取决于非确定性的程度。实现多项式时间模拟的关键机制是通过记忆化共享计算。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。