Connection between regular expressions and regular languages

Слайд 2

Regular Expressions and Regular Languages

for every regular language there is a regular

Regular Expressions and Regular Languages for every regular language there is a
expression
for every regular expression there is a regular language.

Слайд 3

Regular Expressions and Regular Languages

Regular Expressions denote Regular Languages

Regular Expressions and Regular Languages Regular Expressions denote Regular Languages

Слайд 4

Regular Expressions and Regular Languages

Regular Expressions and Regular Languages

Слайд 5

Regular Expressions and Regular Languages

Regular Expressions and Regular Languages

Слайд 6

Regular Expressions and Regular Languages

Regular Expressions and Regular Languages

Слайд 7

Exercise

Exercise

Слайд 8

Regular Expressions for Regular Languages

for every regular language, there should exist a

Regular Expressions for Regular Languages for every regular language, there should exist
corresponding regular expression.
For every regular language there should be an NFA that accepts it.
From the NFA, we can extract the respective regular expression using generalized transition graphs (GTG)
From construct the equivalent Generalized Transition Graph in which transition labels are regular expressions.

Слайд 10

Reducing the states

Reducing the states

Reducing the states Reducing the states

Слайд 11

Example (cont.)

Resulting Regular Expression:

Example (cont.) Resulting Regular Expression:

Слайд 12

In General

Removing states:

In General Removing states:

Слайд 13

In General

The final transition graph:
The resulting regular expression:

In General The final transition graph: The resulting regular expression:
Имя файла: Connection-between-regular-expressions-and-regular-languages.pptx
Количество просмотров: 45
Количество скачиваний: 0