行列式有限自动机 (JFLAP)

发布于 2024-09-25 18:40:52 字数 163 浏览 12 评论 0原文

我有一个 DFA 问题(行列式有限自动机)。我们使用 JFLAP 来构建自动机。我无法解决这个问题来挽救我的生命!这里是

“DFA 识别所有具有偶数个 0 和奇数个 1 的字符串的语言”。

所以字母表是{0,1}并且只使用0,1。所以我需要构建一个自动机来识别偶数个零和奇数个1。

I have a DFA question (Determinant Finite Automata) . We are using JFLAP to construct the automata. I cannot figure this question out to save my life! Here it is

"DFA to recognize the language of all strings that have an even number of zeros and an odd number of ones."

So the alphabet is {0,1} and only using 0,1. So I need to build an automata that recognizes an even number of zeros and an odd number of ones.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

谁与争疯 2024-10-02 18:40:52

不知道我的理解是否正确。
我可以为您提供 Grail 格式的描述,该格式生成偶数个零​​和奇数个1。

开始 1

1 1 2

2 1 1

1 0 3

3 0 4

4 0 3

最终 3

I don't know whether my understanding is right.
I could give you the description in Grail format that generate an even number of zeros and an odd number of ones.

START 1

1 1 2

2 1 1

1 0 3

3 0 4

4 0 3

FINAL 3

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文