Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Deterministic finite automaton?

Também chamado de: transition function · accepting state

Definition 21.4 University Computer Science — Year 2 · Capítulo 21 — Finite Automata

A deterministic finite automaton (DFA) is A=(Q,Σ,δ,q0,F)A = (Q, \Sigma, \delta, q_0, F): a finite set of states QQ, an alphabet Σ\Sigma, a transition function δ\delta, a partial map from Q×ΣQ \times \Sigma to QQ, a start state q0q_0, and a set F⊆QF \subseteq Q of accepting states. The extended transition function δ∗\delta^* on words is defined by δ∗(q,ε)=q\delta^*(q, \varepsilon) = q and δ∗(q,wa)=δ(δ∗(q,w),a)\delta^*(q, wa) = \delta(\delta^*(q, w), a), undefined as soon as one step is. AA accepts ww when δ∗(q0,w)\delta^*(q_0, w) is defined and lies in FF, and the language recognised by AA is L(A)L(A), the set of words it accepts.

The automaton of the hook. A missing arrow is a missing transition: the string is rejected there. The accepting states have a double circle.
The automaton of the hook. A missing arrow is a missing transition: the string is rejected there. The accepting states have a double circle.
Ler no capítulo →