Afnd, afnd e y er

10
AFND, AFND- y ER If You Like Regular Expressions So Much, Why Don't You Marry Them?— Jeff Atwood de Coding Horror Ivan Meza

Transcript of Afnd, afnd e y er

Page 1: Afnd, afnd e y er

AFND, AFND- y ERϵ

If You Like Regular Expressions So Much, Why Don't You Marry Them?—Jeff Atwood de Coding Horror

Ivan Meza

Page 2: Afnd, afnd e y er

¿Qué lenguaje reconoce la siguiente expresión regular con?Σ = {a, b}

(bb + aa + ab)(a + b)∗

► ▮▮ ◼ 3

180Individual

Page 3: Afnd, afnd e y er

Con crear una AFND- (gra�co) para laexpresión:

Σ = {a, b} ϵ

(bb + aa + ab)(a + b)∗

► ▮▮ ◼ 10

600Equipo

Page 4: Afnd, afnd e y er

Con la solución anterior, sacar su tabla de transición

► ▮▮ ◼ 4

240Equipo

Page 5: Afnd, afnd e y er

Usando el AFND- anterior crear un AFNDϵ

► ▮▮ ◼ 6

360Equipo

Page 6: Afnd, afnd e y er

Usando el AFND anterior crear un AF

► ▮▮ ◼ 10

600Equipo

Page 7: Afnd, afnd e y er

Usando el AFND anterior sacer un AF mínimo

► ▮▮ ◼ 10

600Equipo

Page 8: Afnd, afnd e y er

q₀ q₂

q₁ q₃

q₄

ε

b b

εa

a

ε

ε

a

Page 9: Afnd, afnd e y er

Calcular el AFNDCalcular el AFProponer una ER

► ▮▮ ◼ 20

1200Equipo

Page 10: Afnd, afnd e y er

[email protected] ivanvladimir.github.io ivanvladimir

Autómatas finitos y expresiones regulares by islicensed under a

. Creado a partir de la obra en

Ivan V. Meza RuizCreative Commons Reconocimiento 4.0Internacional License

http://turing.iimas.unam.mx/~ivanvladimir/slides/lfya/fsm_examples.html