Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Kỹ thuật lập trình
Lecture Theory of automata - Lecture 40
tailieunhanh - Lecture Theory of automata - Lecture 40
The following will be discussed: Recap of example of PDA corresponding to CFG, CFG corresponding to PDA. Theorem, HERE state, Definition of Conversion form, different situations of PDA to be converted into conversion form. | Recap lecture 39 PDA corresponding to CFG, Examples of PDA corresponding to CFG Example Consider the following CFG S XY X aX | bX |a Y Ya | Yb | a First of all, converting the CFG to be in CNF, introduce the nonterminals A and B as A a B b The following CFG is in CNF Example continued S XY X AX | BX |a Y YA | YB | a A a B b The PDA corresponding to the above CFG will be PH S AT ST RD1 a RD2 A PP ∆ Y ∆ RD3 RD5 PH Y PH X PH X PH B X a a PH X PH A S RD4 b B PH A PH Y PH B PH Y X X Y Y Theorem Given a PDA that accepts the language L, there exists a CFG that generates exactly L. Before the CFG corresponding to the given PDA is determined, the PDA is converted into the standard form which is called the conversion form. Before the PDA is converted into conversion form a new state HERE is defined which is placed in the middle of any edge. CFG corresponding to PDA continued Like READ and POP states, HERE states are also numbered . becomes RD7 RD9 a RD7 HERE3 a RD9 b b Conversion form of PDA Definition: A PDA is in conversion form if it fulfills the following conditions: There is only one ACCEPT state. There are no REJECT states. 3. Every READ or HERE is followed immediately by a POP . every edge leading out of any READ or HERE state goes directly into a POP state. CFG corresponding to PDA No two POPs exist in a row on the same path without a READ or HERE between them whether or not there are any intervening PUSH states (. the POP states must be separated by READs or HEREs). All branching, deterministic or nondeterministic occurs at READ or HERE states, none at POP states and every edge has only one label. CFG corresponding to PDA Even before we get to START, a “bottom of STACK” symbol $ is placed on the STACK. If this symbol is ever popped in the processing it must be replaced immediately. The STACK is never popped beneath this symbol. Right before entering ACCEPT this symbol is popped out and left. CFG corresponding to PDA 7. The PDA must begin with the sequence The entire input string must be read before the machine can accept the word. Different situations of a PDA to be converted into conversion form are discussed as follows START PUSH $ HERE POP $ CFG corresponding to PDA contd. becomes RD7 POP a b PUSH b PUSH a PUSH $ RD7 a b $ b RD7 RD8 a b b To satisfy condition 3, CFG corresponding to PDA contd. becomes To satisfy condition 4, POP4 POP5 a b POP4 HERE a POP5 b CFG corresponding to PDA contd. RD1 POP1 a RD2 RD3 a b To satisfy condition 5 becomes as follows CFG corresponding to PDA contd. RD1 POP2 a RD2 b POP3 a RD3 a CFG corresponding to PDA contd. RD1 POP a PUSH a PUSH b RD2 a b RD1 POP1 PUSH a PUSH b RD2 a b POP2 a a To satisfy condition 5 becomes CFG corresponding to PDA contd. $ STACK To satisfy condition 6, it is supposed that the STACK is initially in the position shown below Summing Up Recap of example of PDA corresponding to CFG, CFG corresponding to PDA. Theorem, HERE state, Definition of Conversion form, different situations of PDA to be converted into conversion form
Anh Thái
79
17
ppt
Báo lỗi
Trùng lắp nội dung
Văn hóa đồi trụy
Phản động
Bản quyền
File lỗi
Khác
Upload
Tải xuống
đang nạp các trang xem trước
Bấm vào đây để xem trước nội dung
Tải xuống
TÀI LIỆU LIÊN QUAN
Formal Languages & Automata: Chapter 7 - Pushdown Automata
41
93
0
Formal Languages & Automata: Chapter 2 - Finite Automata
45
84
0
Ebook Introduction to automata theory, languages and computation (2nd edition): Part 1
270
61
0
Lý thuyết automata và ngôn ngữ hình thức - Bài 3
68
113
2
CELLULAR AUTOMATA SIMPLICITY BEHIND COMPLEXITY
1
101
0
Formal Languages & Automata: Chapter 10 - A Hierarchy of Formal Languages and Automata
15
70
0
Bài giảng Tin học lý thuyết - Chương 6: Automata đẩy xuống (Push Down Automata)
16
80
1
Ebook Introduction to automata theory, languages and computation (2nd edition): Part 2
267
86
0
Ebook Introduction to automata theory, languages and compution - John E. Hopcroft, Jeffrey D. Ullman
426
82
0
Automata and Formal Language (chapter 7)
35
65
1
TÀI LIỆU XEM NHIỀU
Một Case Về Hematology (1)
8
461886
55
Giới thiệu :Lập trình mã nguồn mở
14
22715
61
Tiểu luận: Tư tưởng Hồ Chí Minh về xây dựng nhà nước trong sạch vững mạnh
13
10903
530
Câu hỏi và đáp án bài tập tình huống Quản trị học
14
10083
447
Phân tích và làm rõ ý kiến sau: “Bài thơ Tự tình II vừa nói lên bi kịch duyên phận vừa cho thấy khát vọng sống, khát vọng hạnh phúc của Hồ Xuân Hương”
3
9539
104
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8300
1127
Tiểu luận: Nội dung tư tưởng Hồ Chí Minh về đạo đức
16
8248
423
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7867
2220
Đề tài: Dự án kinh doanh thời trang quần áo nữ
17
6710
253
Vật lý hạt cơ bản (1)
29
5792
88
TỪ KHÓA LIÊN QUAN
Kỹ thuật lập trình
Theory of automata
Lecture Theory of automata
Computer theory
Theory of computation
Computer science
CFG corresponding
Formal Languages & Automata
Pushdown Automata
Finite Automata
Non deterministic Pushdown Automata
Instantaneous Description
Language accepted by NPDA
Deterministic Finite Automata (DFA)
Operational Manner
Transition Graphs
Extended Transition Function
Automata theory
Automata theory languages
Automata theory computation
Context Free grammars
Regular languages
Automata hữu hạn
Đoán nhận ngôn ngữ
Biểu diễn automata
Xây dựng automata
xây dựng DFA
Automata Model
Settlement Development
Automata Framework
Cellular Automata
Transport Equations
Population Dynamics
isaster Areas
Bus Dynamics
A Hierarchy of Formal Languages and Automata
ecursively Enumerable Languages
Recursive Languages
Unrestricted Grammars
Context Sensitive Grammars
Tin học lý thuyết
Bài giảng Tin học lý thuyết
Automata đẩy xuống
Push Down Automata
PDA đơn định
PDA không đơn định
Additional classes
Intractable problems
Properties of context free languages
Introduction to automata theory languages and compution
Regular expressions
Properties of regular sets
chương trình đồ họa
giáo trình thiết kế
thiết kế đồ họa
lý thuyết automata
tài liệu về automata
tài liệu về pushdown automata
ngôn ngữ lập trình
Logical Computation
Quantum Computations
Automata Application
Organizing Networks
Molecular Orbitals
Disordered Cellular automata
Traffic flow models
Automata traffic
Nagel Schreckenberg
Deceleration terms
Cellular Automata in transportation
Evaluating Dynamic
Three Basic Concepts
Languages Grammars Automata
Input file
Control unit
String in L
Introduction Formal Languages & Automata
A formal language
An automaton
Fundamental ideas
Models underlying computing
Văn phạm phi ngữ cảnh
Ngôn ngữ hình thức
Văn phạm hình thức và các Automata
Trình biên dịch
Solution of the task
Polish notation
Total language tree
Null production
Nullable production
Theorem regarding CNF
The START state
Nondeterministic PDA
Equivalent PDA
PDA corresponding to CFG
STACK alphabet
TÀI LIỆU MỚI ĐĂNG
Động cơ đốt trong và máy kéo công nghiêp tập 2 part 8
32
262
0
01-05-2024
Trading Strategies Profit Making Techniques For Stock_8
23
176
1
01-05-2024
THE ANTHROPOLOGY OF ONLINE COMMUNITIES BY Samuel M.Wilson and Leighton C. Peterson
19
147
0
01-05-2024
Giáo trình tổng quan khoa học thông tin và thư viện part 7
22
145
2
01-05-2024
báo cáo hóa học:" Rare ligamentum flavum cyst causing incapacitating lumbar spinal stenosis: Experience with 3 Chinese patients"
4
97
0
01-05-2024
Kiến thức vượt qua kì thi quốc gia 11
6
99
0
01-05-2024
báo cáo hóa học:" A decade of modelling research yields considerable evidence for the importance of concurrency: a response to Sawers and Stillwaggon"
7
85
0
01-05-2024
Concluding interview 6
6
88
0
01-05-2024
CHƯƠNG 2: RỦI RO THÂM HỤT TÀI KHÓA
28
112
0
01-05-2024
Báo cáo y học: "Regulation and localization of endogenous human tristetraprolin"
12
84
0
01-05-2024
TÀI LIỆU HOT
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7867
2220
Giáo trình Tư tưởng Hồ Chí Minh - Mạch Quang Thắng (Dành cho bậc ĐH - Không chuyên ngành Lý luận chính trị)
152
5789
1388
Ebook Chào con ba mẹ đã sẵn sàng
112
3772
1233
Ebook Tuyển tập đề bài và bài văn nghị luận xã hội: Phần 1
62
5333
1136
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8300
1127
Giáo trình Văn hóa kinh doanh - PGS.TS. Dương Thị Liễu
561
3518
644
Tiểu luận: Tư tưởng Hồ Chí Minh về xây dựng nhà nước trong sạch vững mạnh
13
10903
530
Giáo trình Sinh lí học trẻ em: Phần 1 - TS Lê Thanh Vân
122
3694
525
Giáo trình Pháp luật đại cương: Phần 1 - NXB ĐH Sư Phạm
274
4071
516
Bài tập nhóm quản lý dự án: Dự án xây dựng quán cafe
35
4136
480
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.