5个州的DFA代码 [英] DFA code for 5 states

查看:185
本文介绍了5个州的DFA代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好:
即时使用c ++隐含具有5种状态的DFA.
当我尝试执行此操作时,如果您有暗含5个州或(> 5)的DFA的代码,对我来说似乎很难?
感谢您的建议"

Hi:
im implimenting a DFA having 5 states using c++
when i try to do it seems hard to me if u have a code that impliment a DFA with 5 states or (>5) please help?
"thanks for ur advice"

推荐答案

如果您需要它,那么您必须了解它.在Wikipedia页面[ ^ 上开始阅读一些介绍性材料. ],但请深入阅读一本好书.
:)
If you need it then you have to understand it. Start reading some introductory material as the Wikipedia page [^], but the go deeper reading a good book about.
:)


为了向Eugen Podsypalnikov和我们其他人说明,我相信您正在谈论确定性有限自动机-一种有限状态机.

我猜这是一项家庭作业.

您如何尝试进行此操作,以及您的方法遇到了哪些困难?
To clarify for Eugen Podsypalnikov and the rest of us too, I believe that you are talking about a Deterministic Finite Automaton - a type of finite state machine.

I''m guessing that this is a homework assignment.

How have you been trying to do it, and what difficulties have you encountered with your approach?


请验证
我对 DFA [ ^ ]是错误的... :-D
Please verify
that my find result for DFA[^] was wrong... :-D


这篇关于5个州的DFA代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆