Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Product automaton?

Definition 21.16 University Computer Science — Year 2 · Bab 21 — Finite Automata

The product of two complete DFAs (P,Σ,δ,p0,F)(P, \Sigma, \delta, p_0, F) and (Q,Σ,γ,q0,G)(Q, \Sigma, \gamma, q_0, G) has the states P×QP \times Q, the start (p0,q0)(p_0, q_0) and the transitions (p,q)→a(δ(p,a),γ(q,a))(p, q) \xrightarrow{a} (\delta(p, a), \gamma(q, a)): it runs both automata at once.

The product of “even length” (first component) and “starts with a” (0: start, 1: began with a, 2: began with b). Grey: (1, 0) is not accessible; (1, 2) and (0, 2) cannot reach the accepting state. The trim automaton keeps three states.
The product of “even length” (first component) and “starts with aa” (0: start, 1: began with aa, 2: began with bb). Grey: (1,0)(1, 0) is not accessible; (1,2)(1, 2) and (0,2)(0, 2) cannot reach the accepting state. The trim automaton keeps three states.
Baca dalam konteks →