本文介绍了NFA转换到DFA的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要编写转换NFA到DFA的程序,
用户画图程序,然后将其转换为DFA。
我该怎么办呢?


解决方案

您可能想看看为煽动这个前面的问题。



如果你不在意实现语言,只是希望与NFA的和DFA的发挥,那么你可以使用:





下面是用来做一个教程:




i want to write a program that convert nfa to dfa ,user draw a graph then Program convert it to dfa .how can i do it?

解决方案

You may want to take a look at this previous question for incites.

NFA/DFA implementation in C#

as indicated in the answer you could approach the problem by re-implementing the following python example in C#

https://gist.github.com/491973

If you are not bothered about the implementation language and simply wish to play with NFA's and DFA's then you can use:

http://www.cs.duke.edu/csed/jflap/

here is a tutorial for doing just that:

http://www.cs.duke.edu/csed/jflap/tutorial/fa/nfa2dfa/index.html

这篇关于NFA转换到DFA的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-03 17:56