nfa -> dfa and intro to regular expressions

32
NFA -> DFA and Intro to Regular Expressions

Upload: others

Post on 09-Feb-2022

13 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: NFA -> DFA and Intro to Regular Expressions

NFA -> DFA

and

Intro to Regular Expressions

Page 2: NFA -> DFA and Intro to Regular Expressions

••

••

••

Page 3: NFA -> DFA and Intro to Regular Expressions

• Concatenation is closed for regular languages

••

Page 4: NFA -> DFA and Intro to Regular Expressions

X Y

• XY = X Y = X Y = X <=> Y

X Y • X Y

Y X • Y X

Page 5: NFA -> DFA and Intro to Regular Expressions

•• A N

•• A N

• A•

• A A•

Page 6: NFA -> DFA and Intro to Regular Expressions
Page 7: NFA -> DFA and Intro to Regular Expressions
Page 8: NFA -> DFA and Intro to Regular Expressions

• N

• M Q’ Q

Page 9: NFA -> DFA and Intro to Regular Expressions
Page 10: NFA -> DFA and Intro to Regular Expressions

Rr R

M N

R = M = N

Page 11: NFA -> DFA and Intro to Regular Expressions

r N

Page 12: NFA -> DFA and Intro to Regular Expressions

•• A N

•• A N

• A•

• A A•

Page 13: NFA -> DFA and Intro to Regular Expressions

Page 14: NFA -> DFA and Intro to Regular Expressions

••

Page 15: NFA -> DFA and Intro to Regular Expressions

ε

Page 16: NFA -> DFA and Intro to Regular Expressions
Page 17: NFA -> DFA and Intro to Regular Expressions

ε

ε

Page 18: NFA -> DFA and Intro to Regular Expressions

Page 19: NFA -> DFA and Intro to Regular Expressions
Page 20: NFA -> DFA and Intro to Regular Expressions

001

Page 21: NFA -> DFA and Intro to Regular Expressions

Page 22: NFA -> DFA and Intro to Regular Expressions

Page 23: NFA -> DFA and Intro to Regular Expressions

Page 24: NFA -> DFA and Intro to Regular Expressions

Page 25: NFA -> DFA and Intro to Regular Expressions
Page 26: NFA -> DFA and Intro to Regular Expressions
Page 27: NFA -> DFA and Intro to Regular Expressions

••

••

Page 28: NFA -> DFA and Intro to Regular Expressions

••

Page 29: NFA -> DFA and Intro to Regular Expressions
Page 30: NFA -> DFA and Intro to Regular Expressions

••

••

Page 31: NFA -> DFA and Intro to Regular Expressions

Page 32: NFA -> DFA and Intro to Regular Expressions

Check-in Quiz 2/10