Finite Automata and Regular Expressions: Problems and Solutions (Paperback)
Stefan Hollos, J. Richard Hollos
- 出版商: Abrazol Publishing
- 出版日期: 2013-08-12
- 售價: $830
- 貴賓價: 9.5 折 $789
- 語言: 英文
- 頁數: 154
- 裝訂: Paperback
- ISBN: 1887187162
- ISBN-13: 9781887187169
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$998$945 -
$352深入淺出 DPDK
-
$480$360 -
$500Python + Kivy (App開發) 從入門到實踐
-
$600$468 -
$720$562 -
$551$518 -
$680$537 -
$419$398 -
$520$390
相關主題
商品描述
The introduction provides some background information on automata, regular expressions, and generating functions.
The inclusion of generating functions is one of the unique features of this book. Few computer science books cover the topic of generating functions for automata and there are only a handful of combinatorics books that mention it. This is unfortunate since we believe the connection between computer science and combinatorics, that is opened up by these generating functions, can enrich both subjects and lead to new methods and applications.
We cover a few interesting classes of problems for finite state automata and then show some examples of infinite state automata and recursive regular expressions. The final problem in the book involves constructing a recursive regular expression for matching regular expressions.
This book explains:
* Why automata are important.
* The relationship of automata to regular expressions.
* The difference between deterministic and nondeterministic automata.
* How to get the regular expression from an automaton.
* Why two seemingly different regular expressions can belong to the same automaton.
* How the regular expression for an infinite automaton is different than
one for a finite one.
* The relationship of a regular expression to a regular language.
* What a generating function for a language tells you about the language.
* How to get a generating function from a regular expression.
* How the generating function of a recursive regular expression is
different from that of an ordinary regular expression.
* How to test divisibility properties of integers (binary and decimal
based) using automata.
* How to construct an automaton to search for a given pattern, or for a
given pattern not occurring.
* How to construct an automaton for arbitrary patterns and alphabets.
* How the recursive regular expression for nested parentheses leads to
the Catalan numbers.
Included in this book:
* Divisibility problems in binary and decimal.
* Pattern search problems in binary, ternary, and quaternary alphabets. * Pattern search problems for circular strings that contain or do not contain a given pattern.
* Automata, regular expressions, and generating functions for gambling games.
* Automata and generating functions for finite and infinite correctly nested parentheses.
* The recursive regular expression for matching regular expressions over a binary alphabet.
* A further reading list.
商品描述(中文翻譯)
這是一本關於解決自動機和正則表達式相關問題的書籍。它透過問題解決的方式,幫助你以最有效的方式學習這個主題。本書包含84個問題及其解答。
引言提供了一些有關自動機、正則表達式和生成函數的背景資訊。
生成函數的納入是本書的一個獨特特點。很少有計算機科學書籍涵蓋自動機的生成函數主題,而提及此主題的組合數學書籍也僅有少數。這是相當不幸的,因為我們相信這些生成函數所開啟的計算機科學與組合數學之間的聯繫,可以豐富這兩個學科並導致新的方法和應用。
我們涵蓋了一些有趣的有限狀態自動機問題類別,然後展示了一些無限狀態自動機和遞歸正則表達式的例子。本書的最後一個問題涉及構造一個用於匹配正則表達式的遞歸正則表達式。
本書解釋了:
* 為什麼自動機很重要。
* 自動機與正則表達式之間的關係。
* 確定性自動機與非確定性自動機之間的區別。
* 如何從自動機獲得正則表達式。
* 為什麼兩個看似不同的正則表達式可以屬於同一個自動機。
* 無限自動機的正則表達式與有限自動機的正則表達式有何不同。
* 正則表達式與正則語言之間的關係。
* 語言的生成函數告訴你有關該語言的哪些資訊。
* 如何從正則表達式獲得生成函數。
* 遞歸正則表達式的生成函數與普通正則表達式的生成函數有何不同。
* 如何使用自動機測試整數的可除性特性(基於二進制和十進制)。
* 如何構造一個自動機來搜尋給定的模式,或搜尋不包含給定模式的情況。
* 如何為任意模式和字母表構造自動機。
* 嵌套括號的遞歸正則表達式如何導致卡塔蘭數。
本書中包含:
* 二進制和十進制的可除性問題。
* 在二進制、三進制和四進制字母表中的模式搜尋問題。
* 對於包含或不包含給定模式的圓形字串的模式搜尋問題。
* 用於賭博遊戲的自動機、正則表達式和生成函數。
* 用於有限和無限正確嵌套括號的自動機和生成函數。
* 用於匹配二進制字母表上正則表達式的遞歸正則表達式。
* 進一步閱讀清單。