1 / 6

BAS-BIRAK OTOMATLARI (YIĞITLI ÖZDEVİNİRLER)

BAS-BIRAK OTOMATLARI (YIĞITLI ÖZDEVİNİRLER). Yılmaz Kılıçaslan. Sunum Planı. Bas-bırak otomatlarının tanımı Örnekler. Bas-Bırak Otomatlarının Tanımı. Bir bas-bırak otomatı yedi bileşenden oluşur: Q : Sonlu sayıda durum içeren durumlar kümesi ∑: Sonlu sayıda simge içeren giriş alfabesi

rene
Download Presentation

BAS-BIRAK OTOMATLARI (YIĞITLI ÖZDEVİNİRLER)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. BAS-BIRAK OTOMATLARI(YIĞITLI ÖZDEVİNİRLER) Yılmaz Kılıçaslan

  2. Sunum Planı Bas-bırak otomatlarının tanımı Örnekler

  3. Bas-Bırak Otomatlarının Tanımı • Bir bas-bırak otomatı yedi bileşenden oluşur: • Q: Sonlu sayıda durum içeren durumlar kümesi • ∑: Sonlu sayıda simge içeren giriş alfabesi • Γ: Sonlu sayıda simge içeren yığıt alfabesi • q0: Başlangıç durumu • Z0: Yığıtbaşlangıç simgesi • F: Son durumlar kümesi • δ: Geçiş fonsksiyonu • Deterministik model: • δ: [Q x (∑ ∪ {ε}) x Γ]  [Q xΓ*] • Deterministik olmayan model: • δ: [Q x (∑ ∪{ε}) x Γ]  2[Q xΓ*]

  4. Örnek - 1 • δ: δ(q0, 0, Z0) = (q0, 0Z0) δ(q0, 1, Z0) = (q0, 1Z0) δ(q0, c, Z0) = (q1, Z0) δ(q0, 0, 0) = (q0, 00) δ(q0, 1, 0) = (q0, 10) δ(q0, 0, 1) = (q0, 01) δ(q0, 1, 1) = (q0, 11) δ(q0, c, 0) = (q1, 0) δ(q0, c, 1) = (q1, 1) δ(q1, 0, 0) = (q1, ε) δ(q1, 1, 1) = (q1, ε) δ(q1, ε, Z0) = (q1, ε) • L = {wcwR} | w ∈ {0,1}*} • M = < Q, ∑, Γ, δ, q0, Z0,F> • Q = {q0, q1} • ∑ = {0, 1, c} • Γ = {0, 1, Z0}

  5. Örnek - 2 • δ: δ(q0, a, Z0) = (q1, Z0) δ(q1, a, Z0) = (q1, Z0) δ(q1, b, Z0) = (q2, BZ0) δ(q2, b, B) = (q2, BB) δ(q2, a, B) = (q3, B) δ(q3, a, B) = (q3, B) δ(q3, b, B) = (q4, ε) δ(q4, b, B) = (q4, ε) δ(q4, a, Z0) = (q5, Z0) δ(q5, a, Z0) = (q5, Z0) δ(q5, ε, Z0) = (q5, ε) • L = {aibnajbnak} | i, j, k, n > 0} • M = < Q, ∑, Γ, δ, q0, Z0,F> • Q = {q0, q1, q2, q3, q4, q5} • ∑ = {a, b} • Γ = {B, Z0}

  6. Kaynak • Yarımağan, Ünal, 2011. Özdevinirler (Otomatlar) Kuramı ve Biçimsel Diller. Akademi Yayıncılık, Ankara.

More Related