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

可视化为什么非确定性有限状态自动机拒绝

Visualizing Why Nondeterministic Finite-State Automata Reject

Oliwia Kempinski, Marco T. Morazán

AI总结:

本文介绍了一个集成到FSM语言中的可视化工具,通过自动生成反映机器转换关系结构的计算图,帮助学生理解非确定性有限状态自动机为何接受或拒绝输入词。

摘要:

学生觉得他们的第一门形式语言与自动机理论课程具有挑战性。除了形式论证的发展,大多数学生难以理解非确定性计算模型。部分困难源于该课程首次向他们展示了非确定性。通常,学生很难理解为什么非确定性机器接受或拒绝一个词。此外,他们可能对同一输入存在多个计算以及机器不消耗其所有输入感到不适。本文描述了一个为帮助学生理解非确定性行为而开发的可视化工具。该工具集成到FSM中,这是一种用于自动机理论课堂的领域特定语言。该策略基于给定机器和输入词自动生成计算图。与以往的可视化工具不同,生成的计算图反映了给定机器转换关系的结构,而不是计算树的结构。

英文摘要:

Students find their first course in Formal Languages and Automata Theory challenging. In addition to the development of formal arguments, most students struggle to understand nondeterministic computation models. In part, the struggle stems from the course exposing them for the first time to nondeterminism. Often, students find it difficult to understand why a nondeterministic machine accepts or rejects a word. Furthermore, they may feel uncomfortable with there being multiple computations on the same input and with a machine not consuming all of its input. This article describes a visualization tool developed to help students understand nondeterministic behavior. The tool is integrated into, FSM, a domain-specific language for the Automata Theory classroom. The strategy is based on the automatic generation of computation graphs given a machine and an input word. Unlike previous visualization tools, the computation graphs generated reflect the structure of the given machine's transition relation and not the structure of the computation tree.

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

↑