arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1201.1095cs.FL
收藏

使用上下文无关文法和下推自动化概念的有趣示例

An Entertaining Example of Using the Concepts of Context-Free Grammar and Pushdown Automation

Krasimir Yordzhev

摘要:

本文提出了一种解决娱乐性任务的形式语言方法。众所周知的任务的河内塔进行了讨论有关的一些概念的离散数学。描述了一种上下文无关文法,它产生一个解决这个任务的算法。一个确定性的下推自动机,在其工作中模仿和尚的工作,解决河内塔的任务是建立。

英文摘要:

A formal-linguistic approach for solving an entertaining task is made in this paper. The well-known task of the Hanoi towers is discussed in relation to some concepts of discrete mathematics. A context-free grammar which generate an algorithm for solving this task is described. A deterministic pushdown automation which in its work imitates the work of monks in solving the task of the Hanoi towers is built.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑