了解TM模拟器
我只是在查看图灵机模拟器代码并发现了以下语句
“磁带将时间和位置映射到符号,我们必须提前一步查看机器,如果当时磁头处于要求的位置,则符号。根据表中相同位置的前一个符号和机器所处的状态而改变。否则,符号没有改变。”
斜体部分是什么意思?在这种情况下,请求的职位意味着什么?
I was just looking at the turing machine simulator code and came across the following statements
"The tape maps time and position to symbols. To calculate the symbol, we have to look at the machine one step earlier. If at that time, the head was at the requested position, the symbol has changed according to the table depending on the previous symbol at the same position and the state the machine was in. Otherwise, the symbol didn't change."
What does the part in italics mean? What does requested position mean in this context?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
他所说的“请求的位置”是指您尝试读取的位置,即赋予
tape
的模板参数pos
的值。By "requested position" he means the position that you're trying to read, i.e. the value of the template argument
pos
given totape
.