728x90
Finite State Automata: FSA Examples
#01
∑={a,b}
L={aab+a}
∑={a,b}
L={aab+a}
L(aaba) -> Yes
L(aabbba) -> Yes
L(aabbbba) -> Yes
L(aabbb) -> No
L(aabbbaa) -> No
L(baaaa) -> No
L(baa) -> No
#02
∑={a,b}
L={a^xb^y | x,y > 0}
∑={a,b}
L={a^xb^y | x,y > 0}
L(aabb) -> Yes
L(ab) -> Yes
L(aabbb) -> Yes
L(aaaaaabb) -> Yes
L(bbbbb) -> No
L(aaaaa) -> No
L(abab) -> No
L(baa) -> No
#03
∑={a,b}
L={a(ba)*}
∑={a,b}
L={a(ba)*}
L(ababa) -> Yes
L(a) -> Yes
L(aba) -> Yes
L(abababababa) -> Yes
L(b) -> No
L(ab) -> No
L(abab) -> No
L(aa) -> No
728x90
'Computer Science' 카테고리의 다른 글
[Programming] Queue: 원형 큐(Circular Queue) 단계별 과정 (0) | 2021.07.28 |
---|---|
[Programming] Quick Sort, Sort Algorithms #01 (0) | 2021.07.28 |
[Programming] Lexemes, Tokens (0) | 2021.07.10 |
[Programming] Queue(큐): 선형 큐(Linear Queue), 원형 큐(Circular Queue) (0) | 2021.07.08 |
[Programming] 어셈블리 명령어(Assembly Instructions): SHL, SHR, SAL, SAR, ROL, ROR, RCL, RCR (0) | 2021.07.03 |
댓글