Top Banner
NFA -> DFA and Intro to Regular Expressions
32

NFA -> DFA and Intro to Regular Expressions

Feb 09, 2022

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
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