English 中文(简体)
选择国家汽车作为(方案拟订)语言接受者
原标题:Finite state automata as (programming) language acceptors

我知道FSA如何接受str(如Wikipedia网页所示),但FSA接受的语言如何成为方案拟订语言?

难道这样吗?

-->[1]--1-->[2]--+-->[3]--1-->[[5]]
             |        |
             -        2-->[[6]]
             |
             v
            [4]--1-->[[7]]
             |
             2-->[[8]]

当我接触到5、6、7、8个接受的国家时,我知道应该有什么样的价值,因此我已经界定了方案拟定的语言?

而且,如果我延伸到冻结了财务支助,那么我可以补偿像1plus2和rt(9)这样的扼杀。

Is this thinking correct?

最佳回答

No, that s not quite right. To understand how FSAs are related to computation, you need to adopt a more general view of computation.

Generally speaking, computation is about taking input and producing output. For now, let s focus on one kind of problem we can compute the answer to: decision problems, where the output is restricted to "yes" or "no". Let s further restrict the kinds of problems we re talking about to those decisions problems whose inputs are strings (like "nice"). These are precisely the kinds of questions that FSAs can be used to answer (but they can t answer all of them!).

因此,FSAs能够回答(有些)以下形式的问题:Sstring X是否拥有财产Y? 这方面的实例是“描述一套已知的、有限的扼杀物吗?” “说明奇数的双位代表吗?” “舱面是否具有划线性? 所有这些都可以由金融服务业协会回答。

Your problems - like 1+1 - is not a decision problem. You can make it a decision problem, though, as follows: "Is my string of the form x+y=z , where x, y and z are decimal representations of integers X, Y and Z and X + Y = Z?" This question, and many like it, cannot be answered using FSAs.

存在更强大的国家机器;它们不是“无限的”。 实例包括:推土机(PDAs)、直线制的汽车(LBAs)和 Tur机(TMs)。 某些决定问题,即“显示X拥有财产Y吗? ” ,甚至连最强大的汽车机器也不能回答。 其中一个实例是阻止问题:“X(y)的哪里是方案,并且是方案的投入,X所代表的方案在通过投入时是否停止了? 在一般情况下,没有TM(即没有算法)来回答这一问题。

您能否写出一个解答问题的FSA,即“以Im 定义的这种语言进行窒息性有效的扼杀吗?” 当然,这取决于你的语言规则。 “Number + Number + ...... + Number”等表格的封面可由财务和行政局承认,但财务和行政局可以告诉你数额。 然而,你可以添加括号,或者说,其他财务安排已不再合适。 换言之,在确认扼杀和计算结果之间存在差异,而金融服务业一般认为是前者。

请自由提问。 如果你对这些问题重新感兴趣,请通过访问以下网站,支持新的计算机科学交流:

http://area51.stack Exchange.com/proposals/35636/computer-science-non-programming?referer=rpnXA1_2BNYzXN85cibxQ2

问题回答

暂无回答




相关问题
How to perform FST (Finite State Transducer) composition

Consider the following FSTs : T1 0 1 a : b 0 2 b : b 2 3 b : b 0 0 a : a 1 3 b : a T2 0 1 b : a 1 2 b : a 1 1 a : d 1 2 a : c How do I perform the composition operation on these two FSTs (i.e. ...

Theory of Computation - Showing that a language is regular

I m reviewing some notes for my course on Theory of Computation and I m a little bit stuck on showing the following statement and I was hoping somebody could help me out with an explanation :) Let A ...

Why does my finite state machine take so long to execute?

I m working on a state machine which is supposed to extract function calls of the form /* I am a comment */ //I am a comment pref("this.is.a.string.which"can have QUOTES"", 123456); where the ...

Testing intersection of two regular languages

I want to test whether two languages have a string in common. Both of these languages are from a subset of regular languages described below and I only need to know whether there exists a string in ...

Good resources to learn about models of computation?

Out of curiosity, I am trying to identify what model of computation a system I work with is functionally equivalent to, and prove the equivalence. The longer I spend on this problem the more I ...

NFA to DFA question

First, this is not a question asking for the algorithm to convert a NFA to DFA. It s known (and proved) that the equivalent DFA of a NFA has at most 2n states, even though most of the times it will ...

Lex and Yacc for Finite Automata

我想开发一个工具,根据过渡表、利用Lex和Yacc进入邦和最后邦,构造任何精炼的汽车的过渡图。 工具还应为......提供设施。

热门标签