离散点自动生成等高线_有限自动机| 离散数学

离散点自动生成等高线

有限状态机 (Finite state machine)

A finite state machine (FSM) is similar to a finite state automation (FSA) except that the finite state machine "prints" an output using an output alphabet distinct from the input alphabet. The final definition is as follow:

有限状态机(FSM)与有限状态自动化(FSA)相似,区别在于有限状态机使用与输入字母不同的输出字母“打印”输出。 最终定义如下:

A finite state machine (also called complete sequential machine ) M( A, S, Z, S0, f, g) consists of six points.

有限状态机(也称为完全顺序机) M(A,S,Z,S0,f,g)由六个点组成。

  1. A finite set A of input alphabet.

    输入字母的有限集A。

  2. A finite set S of internal state.

    内部状态的有限集S。

  3. A finite set z of output symbol.

    输出符号的有限集z

  4. An initial state S0 in S.

    S上的初始状态S0,

  5. A next-state function f from S X A into S.

    SXAS的下一状态函数f

  6. An output function g from S X A into Z.

    SXAZ的输出函数g

有限状态机的组成 (Components of finite state machine)

Input type

输入类型

The input type is divided into a square and each square contains a single symbol from the input alphabet X. The end squares of the tape contain end markers at the left end and $ at the right end. The absence of end markers in the input tape indicates that there is an infinite length of the tape. The left to right sequence of symbol between the end markers is the input string to be processed.

输入类型分为一个正方形,每个正方形包含来自输​​入字母X的单个符号。 磁带的方格在左端包含结束标记,在右端包含$ 。 输入磁带中没有结束标记,表明磁带长度无限。 结束标记之间从左到右的符号序列是要处理的输入字符串。

Reading head

阅读头

The head examines only one square at a time and can move on square either to the left or to the right. For further analysis are restrict the movement of R head only to the right side.

头部一次只检查一个正方形,并且可以在正方形上向左或向右移动。 为了进一步分析,仅将R头的移动限制在右侧。

Finite control

有限控制

The input to the finite control will be usually symboled under the R-head say a or the present state of the machine say q to give the following output:

有限控制的输入通常用R头表示a或机器的当前状态表示q来表示以下输出:

  1. A motion of R head along the tape to the next square.

    R头沿磁带移动到下一个正方形。

  2. The next state of the finite state machine given by & (q, a).

    &(q,a)给出的有限状态机的下一个状态。

Transition system

过渡系统

The finite labeled graph in which a state is represented by the vertex or node and the directed edges indicates the transition of a state and the edges are labeled with input/output is known as transition graph or a transition system.

其中状态由顶点或节点表示且有向边表示状态的转换且边缘以输入/输出标记的有限标记图称为转换图或转换系统。

In the normal transition diagram, the initial state is represented by a circle with an arrow pointing towards it, the final state by two concentric circles and the other states are represented by just a circle.

在正常过渡图中,初始状态由带有箭头的圆形表示,最终状态由两个同心圆表示,其他状态仅由一个圆表示。

normal transition diagram


有限自动机的类型 (Types of finite Automata)

There are two types of finite automata:

有限自动机有两种类型:

1) Deterministic finite automata

1)确定性有限自动机

Some moves of the machine can be uniquely determined by the input symbol and present state. The DFA can be defined with 5 tuples (Q, X, &, q0, F). When,

机器的某些动作可以由输入符号和当前状态唯一地确定。 可以使用5个元组(Q,X,&,q0,F)定义DFA。 什么时候,

  • Q - is a finite non-empty set of states.

    Q-是有限的非空状态集。

  • X - is a finite non-empty set of input called input alphabet.

    X-是一个有限的非空输入集,称为输入字母。

  • & - is a function which maps Q x X into q and is usually called direct transition function. This is the function which describes the change of states driving the transition. This mapping is usually represented by a transition table or a transition diagram.

    -是将Q x X映射到q的函数,通常称为直接转移函数。 这是描述驱动过渡的状态变化的功能。 此映射通常由过渡表或过渡图表示。

  • Qo E Q - is the initial state and,

    Qo EQ-是初始状态,

  • F C Q - is the set of final states. It is assumed here that there may be more than one final state.

    FCQ-是最终状态集。 在此假设最终状态可能不止一个。

2) Non- deterministic finite Automata

2)非确定性有限自动机

Some moves of the machine can not uniquely determine by the input symbol and present state. The NDFA can be defined with 5 tuples. (Q, X, f, q0, F). Where,

机器的某些动作无法通过输入符号和当前状态唯一地确定。 NDFA可以定义为5个元组。 (Q,X,f,q0,F)。 哪里,

  • Q - is a finite non-empty set of states.

    Q-是有限的非空状态集。

  • X - is a finite non-empty set of inputs.

    X-是一组有限的非空输入。

  • & - is the transition function mapping from Q x X into 2Q which is the power set of Q, the set of all subset of Q.

    -是从Q中的过渡函数映射X X2Q是幂集Q,集合Q的所有子集中的。

  • q0 E Q - is the initial state.

    q0 EQ-是初始状态。

  • F C Q - is the set of final states.

    FCQ-是最终状态集。

The difference between the deterministic and non- deterministic automata is only in &. For deterministic automation, the outcome is a state i.e. an element of Q for non- deterministic automation the outcome is a subset of Q.

确定性自动机与非确定性自动机之间的区别仅在于 。 对于确定性自动化,结果是状态,即Q的元素;对于非确定性自动化,结果是Q的子集。

Finite automata


翻译自: https://www.includehelp.com/basics/finite-automata.aspx

离散点自动生成等高线

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/540838.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

android点击加号,Android仿微信朋友圈点击加号添加图片功能

本文为大家分享了类似微信朋友圈,点击号图片,可以加图片功能,供大家参考,具体内容如下xml:xmlns:app"http://schemas.android.com/apk/res-auto"android:layout_width"match_parent"android:layout_height&qu…

AI 创业公司 Kyndi 获850万美元融资,帮助公司预测未来

雷锋网(公众号:雷锋网)8月10日消息,据外媒报道, Kyndi 是一家总部位于帕洛阿尔托的 AI 创业公司。该公司今天宣布,已经完成了850万美元的 B 轮融资。 本轮融资的资金来源包括 PivotNorth Capital,Darling Ventures 和 …

css max-width_CSS中的max-width属性

css max-widthCSS | 最大宽度属性 (CSS | max-width property) The max-width property is used to help in setting the width of an element to the maximum. Although if the element or content is already larger than the maximum width then the height of that content…

20个编写现代CSS代码的建议

本文翻译自Danny Markov 的20-Tips-For-Writing-Modern-CSS一文。 本文归纳于笔者的Web Frontend Introduction And Best Practices:前端入门与最佳实践中CSS入门与最佳实践系列,其他的关于CSS样式指南的还有提升你的CSS姿势、Facebook里是怎样提升CSS代码质量的。本…

android package.xml,Android自动化编译设置AndroidManifest.xml中package值(包名)

手动修改Android的AndroidManifest.xml中package值(包名)很简单,手动修改即可。但是项目中需要把Android的项目源代码放到服务器端在客户下载时候动态编译生成,且生成的app签名相同但包名不同(若此时包名相同就是相同的app),这种需求需要在服…

css 相同的css属性_CSS中的order属性

css 相同的css属性CSS | 订单属性 (CSS | order Property) Introduction: 介绍: Web development is an ever-growing field that would never find its end, therefore it is equally necessary to learn new ways to deal with the elements of the web page or …

StoreServ的ASIC架构师必须面向未来做出决断

StoreServ阵列采用特殊硬件,即一套ASIC来加速存储阵列操作,而且其每代阵列都会在这方面进行重新设计。目前的设计为第五代。 作为惠普企业业务公司研究员兼StoreServ架构师,Siamak Nazari当下主要负责第六代ASIC的设计工作。 每代ASIC设计往往…

android网页省略分页器,Android轻量级网页风格分页器

博客同步自:个人博客主页轻量级仿网页风格分页器,和RecycleView封装一起配合使用,也可单独使用,喜欢就star、fork下吧~谢谢目录功能介绍效果图如何引入简单使用依赖github地址功能介绍支持延迟加载分页支持单独分页器组件使用&…

scala重载无参构造方法_Scala中的无参数方法

scala重载无参构造方法Scala无参数方法 (Scala parameterless method) A method which accepts no parameters from the calling code. It also denotes that there will not be any empty parentheses. These are special types of methods in Scala that are initialized and…

传统存储做到极致也惊人!看宏杉科技发布的CloudSAN

传统存储阵列首先考虑的是高可靠、高性能。那么在成本上、扩展上、部署上就差。 互联网企业带来分布式存储,扩展上、部署上是优势了,但是单节点的可靠性差、数据一致性差、IO延迟大、空间浪费严重,能耗大。 这两者的问题,我想很多…

android inflate,Android 关于inflate

通俗的说,inflate就相当于将一个xml中定义的布局找出来.因为在一个Activity里如果直接用findViewById()的话,对应的是setConentView()的那个layout里的组件.因此如果你的Activity里如果用到别的layout,比如对话框上的layout,你还要设置对话框上的layout里的组件(像图片ImageVie…

keil lic_LIC的完整形式是什么?

keil licLIC:印度人寿保险公司 (LIC: Life Insurance Corporation of India) LIC is an abbreviation of the Life Insurance Corporation of India. It is a public segment insurance and investment group corporation in India that generally deals with life …

“云”上存储初显规模 如何架构是关键

在安防系统中,存储设备只是给数据提供存储空间,数据存储的意义更多是为了给上层应用提供二次挖掘。目前的智能分析、大数据、图帧等技术都是基于数据存储做的数据挖掘。为了将二次挖掘应用的性能提升到最高,在优化分析算法的同时,…

在线图片转成html,在线将JPEG 转换成HTML。 免费将.jpeg 转换成.html。

描述|介绍JPEG – is a popular graphic format, which is characterized by a high degree of compression, which leads to a decrease in image quality. It uses the technology of encoding of smooth color renditions, providing the ability to reduce the amount of d…

密码学常用的算法填充模式_密码学的操作模式

密码学常用的算法填充模式Modes of operation of a block cipher are procedural rules for a generic block cipher. The different modes of operation result in different properties being achieved which add to the security of the underlying block cipher in the cry…

【干货】分享总结:MySQL数据一致性

0、导读 沃趣科技数据库工程师罗小波为大家全面分析如何保证MySQL的数据一致性。 1、活动总结 罗小波老师从MySQL的崩溃数据恢复安全性、MySQL复制原理及异步&semi sync复制原理、MySQL主从服务器如何保证数据一致性等多方面分析如何保证MySQL的数据一致性。 分享内容满满的…

设置html按钮点击事件无效果,css怎么设置按钮不能点击?

css怎么设置按钮不能点击?下面本篇文章就来给大家介绍一下使用CSS设置按钮不能点击的方法。有一定的参考价值,有需要的朋友可以参考一下,希望对大家有所帮助。想要按钮不能点击可以通过设置按钮点击事件失效来实现;而在CSS中&…

计算机图形学与几何造型导论_计算机图形学导论

计算机图形学与几何造型导论历史 (History) The main forerunner sciences to the development of modern computer graphics were the advances in electrical engineering, electronics, and television that took place during the first half of the twentieth century whe…

android scrollview焦点,scrollview里面的edittext,当它获得焦点时如何滚动到edittext

在scrollview中有一个edittext。 (并且edittext上方的scrollview中还有其他视图。)当用户按下edittext时,键盘变得可见,并且scrollview的可见区域变得很小。因为edittext没有显示在屏幕上。 (它不会滚动滚动视图,以便显示编辑文本。)在用户按…

Linux中解压rar文件

Linux平台默认是不支持RAR文件的解压,需要安装linux版本的RAR压缩软件,下载地址为:http://www.rarlab.com/download.htm 下载之后进行解压之后,进入rar目录,运行make指令进行安装: [rootlocalhost rar]# ls…