SlideShare una empresa de Scribd logo
1 de 12
‫نظريـة التوتومـاتـــا ‪Automata Theory‬‬




‫ماهي نظرية التوتوماتا‬

                           ‫جامعة المة للتعليم المفتوح‬
                                      ‫م. توسام زقوت‬
                                      ‫نوفمبر 2102‬
‫ماهي نظرية التوتوماتا‬
     ‫‪ ‬عندما نتحدث عن اللت هنا فنحن نقصد آلت بالمفهوم‬
                             ‫المجرد توليس اللت المادية‬
‫‪ ‬اللة ذاتية الحركة ‪ Automaton‬هو جهاز يتعر ف على أتو‬
          ‫فّ‬
  ‫يقبل عناصر محددة من مجموعة *∑ )حيث ∑ هي أبجدية‬
                                               ‫محدتودة(‬
    ‫‪ ‬أي مجموعة جزئية من *∑ هي لغة. اللغة على *∑ التي‬
    ‫تتشكل من كلمات تقبل بها اللة ذاتية الحركة ‪ M‬هي لغة‬
                                  ‫يشار لها بالرمز ‪(M(L‬‬
‫مثال لبرتوتوكول لرسال البيانات‬

                                         timeout




                    data in
            Ready              Sending


Start

                         ack




                                                   3
‫الال ت ذاتية الحركة المحددة ‪DFA‬‬
‫‪ ‬الال ت ذاتية الحركة المحددة ‪: deterministic automaton‬‬
   ‫يتم تعيين هذه اللة عبر تحديد الحاال ت والتبجدية والحالة االتبتدائية‬
                                ‫والحاال ت النهائية المقبولة ودالة االتنتقال‬
‫الال ت ذاتية الحركة المحددة ‪DFA‬‬
   ‫‪ ‬وتبالتالي لتعيين اللة ذاتية الحركة المحددة تنحتاج للرموز‬
                           ‫التالية: )‪ (Q,Σ,q0,δ,F‬حيث:‬
                         ‫– ‪Q‬هي مجموعة منتهية من الحاال ت‬
    ‫– ‪)Σ‬هي أتبجدية منتهية ) ومن ضمنها ستكون رموز المدخل‬
        ‫دُ‬
‫– 0‪ q‬هي الحالة الولى لللة قبل أي مدخل وهي تنتمي لمجموعة‪Q‬‬
                      ‫دُ‬
        ‫– ‪δ‬هي دالة االتنتقال من حالة لخرى وفق المدخل أي أن‬
                   ‫دُ‬
                                             ‫‪δ: Q × Σ → Q‬‬
      ‫– ‪F‬هي مجموعة الحاال ت النهائية أي الحاال ت المقبولة وهي‬
                                        ‫مجموعة محتواة في‪Q‬‬
‫الال ت ذاتية الحركة المحددة ‪DFA‬‬
‫‪ ‬مثال: قم تبرسم دالة االتنتقال ‪ δ‬التي يعبر عنها الجدول التالي:‬
‫الال ت ذاتية الحركة المحددة ‪DFA‬‬
‫‪ ‬أفضل طريقة للتعبير عن الال ت ذاتية الحركة هي باستخدام‬
                   ‫مخطط الحالة ‪state diagram‬‬
‫‪ ‬الظحظ الحالة 4‪ S‬تسمى ظحالة غرق ‪sink state‬‬
‫الال ت ذاتية الحركة المحددة ‪DFA‬‬
‫‪ ‬تمرين 1: ما هي الكلما ت التي تسمح بها اللة ذاتية الحركة‬
                                                  ‫التالية‬
‫الال ت ذاتية الحركة المحددة ‪DFA‬‬
‫‪ ‬تمرين 2: ما هي الكلما ت التي تسمح بها اللة ذاتية الحركة‬
                                                  ‫التالية‬
‫الال ت ذاتية الحركة المحددة ‪DFA‬‬
‫‪ ‬تابع تمرين 2: للاجابة على التمرين يفض ل أن نقوم بتبسيط‬
                 ‫لّ‬
                              ‫مخطط الحالة السابق إلى:‬
‫‪ ‬اللغة التي تقب ل بها آلة ذاتية الحركة محددة ‪ DFA‬ستكون‬
       ‫بطبيعة الحال لغة نمطية ‪Regular Language‬‬

‫‪ ‬بعض اللغا ت ال يمكن التعبير عنها باستخدام آلة ذاتية الحركة‬
‫محددة ‪ DFA‬وبالتالي تعتبر لغا ت غير نمطية. مث ل ماذا ؟؟؟‬

Más contenido relacionado

Destacado

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destacado (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Automata 3

  • 1. ‫نظريـة التوتومـاتـــا ‪Automata Theory‬‬ ‫ماهي نظرية التوتوماتا‬ ‫جامعة المة للتعليم المفتوح‬ ‫م. توسام زقوت‬ ‫نوفمبر 2102‬
  • 2. ‫ماهي نظرية التوتوماتا‬ ‫‪ ‬عندما نتحدث عن اللت هنا فنحن نقصد آلت بالمفهوم‬ ‫المجرد توليس اللت المادية‬ ‫‪ ‬اللة ذاتية الحركة ‪ Automaton‬هو جهاز يتعر ف على أتو‬ ‫فّ‬ ‫يقبل عناصر محددة من مجموعة *∑ )حيث ∑ هي أبجدية‬ ‫محدتودة(‬ ‫‪ ‬أي مجموعة جزئية من *∑ هي لغة. اللغة على *∑ التي‬ ‫تتشكل من كلمات تقبل بها اللة ذاتية الحركة ‪ M‬هي لغة‬ ‫يشار لها بالرمز ‪(M(L‬‬
  • 3. ‫مثال لبرتوتوكول لرسال البيانات‬ timeout data in Ready Sending Start ack 3
  • 4. ‫الال ت ذاتية الحركة المحددة ‪DFA‬‬ ‫‪ ‬الال ت ذاتية الحركة المحددة ‪: deterministic automaton‬‬ ‫يتم تعيين هذه اللة عبر تحديد الحاال ت والتبجدية والحالة االتبتدائية‬ ‫والحاال ت النهائية المقبولة ودالة االتنتقال‬
  • 5. ‫الال ت ذاتية الحركة المحددة ‪DFA‬‬ ‫‪ ‬وتبالتالي لتعيين اللة ذاتية الحركة المحددة تنحتاج للرموز‬ ‫التالية: )‪ (Q,Σ,q0,δ,F‬حيث:‬ ‫– ‪Q‬هي مجموعة منتهية من الحاال ت‬ ‫– ‪)Σ‬هي أتبجدية منتهية ) ومن ضمنها ستكون رموز المدخل‬ ‫دُ‬ ‫– 0‪ q‬هي الحالة الولى لللة قبل أي مدخل وهي تنتمي لمجموعة‪Q‬‬ ‫دُ‬ ‫– ‪δ‬هي دالة االتنتقال من حالة لخرى وفق المدخل أي أن‬ ‫دُ‬ ‫‪δ: Q × Σ → Q‬‬ ‫– ‪F‬هي مجموعة الحاال ت النهائية أي الحاال ت المقبولة وهي‬ ‫مجموعة محتواة في‪Q‬‬
  • 6. ‫الال ت ذاتية الحركة المحددة ‪DFA‬‬ ‫‪ ‬مثال: قم تبرسم دالة االتنتقال ‪ δ‬التي يعبر عنها الجدول التالي:‬
  • 7. ‫الال ت ذاتية الحركة المحددة ‪DFA‬‬ ‫‪ ‬أفضل طريقة للتعبير عن الال ت ذاتية الحركة هي باستخدام‬ ‫مخطط الحالة ‪state diagram‬‬
  • 8. ‫‪ ‬الظحظ الحالة 4‪ S‬تسمى ظحالة غرق ‪sink state‬‬
  • 9. ‫الال ت ذاتية الحركة المحددة ‪DFA‬‬ ‫‪ ‬تمرين 1: ما هي الكلما ت التي تسمح بها اللة ذاتية الحركة‬ ‫التالية‬
  • 10. ‫الال ت ذاتية الحركة المحددة ‪DFA‬‬ ‫‪ ‬تمرين 2: ما هي الكلما ت التي تسمح بها اللة ذاتية الحركة‬ ‫التالية‬
  • 11. ‫الال ت ذاتية الحركة المحددة ‪DFA‬‬ ‫‪ ‬تابع تمرين 2: للاجابة على التمرين يفض ل أن نقوم بتبسيط‬ ‫لّ‬ ‫مخطط الحالة السابق إلى:‬
  • 12. ‫‪ ‬اللغة التي تقب ل بها آلة ذاتية الحركة محددة ‪ DFA‬ستكون‬ ‫بطبيعة الحال لغة نمطية ‪Regular Language‬‬ ‫‪ ‬بعض اللغا ت ال يمكن التعبير عنها باستخدام آلة ذاتية الحركة‬ ‫محددة ‪ DFA‬وبالتالي تعتبر لغا ت غير نمطية. مث ل ماذا ؟؟؟‬

Notas del editor

  1. * كلمة Automaton جمعها Automata
  2. الحرف اليوناني Σ ينطق سيجما الحرف اليوناني δ ينطق دلتا
  3. The only words accepted are b and abc. Therefore the expression for the language accepted is b U abc
  4. يظهر من هذا المخطط أن اللغة التي تقبل بها هذه الآلة هي ab أو ac أو بعبارة أخرى a(b U c)
  5. لغات غير نمطية مثل L 1 = {0 n 1 n | n ≥ 1} أو L 2 = {w | w in {(, )}* حيث الأقواس في هذه السلسلة متزنة }