dfa sorusu

Soru : {0,1,2} alfabesinde tanımlı L diline ait DFA diagramını oluşturun, regüler ifadesini elde edin.

             L={w : w’nun içerdiği 0’lar 1’lerden az ve en fazla 2 tane 1 var}

Çözüm:

L = 2*12* + 2*12*12* + 2*02*12*12* + 2*12*12*02* + 2*12*02*12*

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.