Deterministic finite automata. Nondeterministic finite automata

Содержание

Слайд 2

Deterministic finite automata

Deterministic finite automaton (DFA) consists of three parts: a tape,

Deterministic finite automata Deterministic finite automaton (DFA) consists of three parts: a
a tape head (or, simply, head), and a finite control.

Слайд 3

Deterministic finite automata

 

Deterministic finite automata

Слайд 4

Deterministic finite automata

The tape head scans the tape, reads symbols from the

Deterministic finite automata The tape head scans the tape, reads symbols from
tape, and passes the information to the finite control.

Слайд 5

Deterministic finite automata

At each move of the DFA, the head scans one

Deterministic finite automata At each move of the DFA, the head scans
cell of the tape and reads the symbol in the cell, and then moves to the next cell to the right.

Слайд 6

Deterministic finite automata

 

Deterministic finite automata

Слайд 7

Deterministic finite automata

Then, it determines, from the current state and the symbol

Deterministic finite automata Then, it determines, from the current state and the
read by the tape, how the state is changed to a new state.

Слайд 8

Deterministic finite automata

 

Deterministic finite automata

Слайд 9

Deterministic finite automata

 

Deterministic finite automata

Слайд 10

Deterministic finite automata

 

Deterministic finite automata

Слайд 11

Deterministic finite automata

When the DFA halts, it accepts the input string if

Deterministic finite automata When the DFA halts, it accepts the input string
it halts in one of the final states.
Otherwise, the input string is rejected.

Слайд 12

Deterministic finite automata

 

Deterministic finite automata

Слайд 13

Deterministic finite automata

The transition diagram of a DFA is an alternative way

Deterministic finite automata The transition diagram of a DFA is an alternative
to represent the DFA.

Слайд 14

Deterministic finite automata

 

Deterministic finite automata

Слайд 15

Deterministic finite automata

 

Deterministic finite automata

Слайд 16

Deterministic finite automata

 

 

Deterministic finite automata

Слайд 17

Deterministic finite automata

 

Deterministic finite automata

Слайд 18

Deterministic finite automata

 

Deterministic finite automata

Слайд 19

Deterministic finite automata

 

 

Deterministic finite automata

Слайд 20

Deterministic finite automata

 

 

Deterministic finite automata

Слайд 21

Deterministic finite automata

 

 

Deterministic finite automata

Слайд 24

Deterministic finite automata

 

Deterministic finite automata

Слайд 25

Deterministic finite automata

 

Deterministic finite automata

Слайд 26

Nondeterministic finite automata

 

Nondeterministic finite automata

Слайд 27

Nondeterministic finite automata

 

Nondeterministic finite automata

Слайд 28

Nondeterministic finite automata

 

Nondeterministic finite automata

Слайд 29

Nondeterministic finite automata

 

Nondeterministic finite automata

Слайд 30

Nondeterministic finite automata

 

Nondeterministic finite automata

Слайд 31

Nondeterministic finite automata

 

Nondeterministic finite automata

Слайд 32

Nondeterministic finite automata

NFA’s, like DFA’s, can also be represented by transition

Nondeterministic finite automata NFA’s, like DFA’s, can also be represented by transition
diagrams.
In the transition diagram, we still use a vertex to represent a state and a labeled edge to represent a move, except that we allow multiple edges from one vertex to other vertices with the same label.

Слайд 33

Nondeterministic finite automata

 

Nondeterministic finite automata

Слайд 34

Nondeterministic finite automata

 

Nondeterministic finite automata

Слайд 35

Nondeterministic finite automata

 

Nondeterministic finite automata

Слайд 36

Nondeterministic finite automata

 

Nondeterministic finite automata

Слайд 38

Nondeterministic finite automata

 

Nondeterministic finite automata

Слайд 40

Nondeterministic finite automata

Some of these computation paths lead to final states

Nondeterministic finite automata Some of these computation paths lead to final states and some do not.
and some do not.

Слайд 41

Nondeterministic finite automata

 

Nondeterministic finite automata
Имя файла: Deterministic-finite-automata.-Nondeterministic-finite-automata.pptx
Количество просмотров: 34
Количество скачиваний: 0