離散點自動生成等高線_有限自動機| 離散數學

離散點自動生成等高線

有限狀態機 (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.pswp.cn/news/540838.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/540838.shtml
英文地址,請注明出處:http://en.pswp.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…