Wumpus World Propositional Logic.

Slides:



Advertisements
Presentasi serupa
Kalkulus Predikat (First Order Logic / FOL)
Advertisements

Inferensi pada Kalkulus Predikat Orde 1
Introduction to Logic Propositional Logic
Knowledge Representation and Deduction First Order Logic (Lanj.)
Knowledge Representation and Deduction Agents That Reason Logically
Logika Order Pertama (First Order Logic)
EXPRESSING LOCATION.
2. Introduction to Algorithm and Programming
REPRESENTASI PENGETAHUAN
Writing (Building Sentences) By : Salman, S.Pd.I, M.Tesol.
(intro to proportional logic)
Artificial Intelligence
Common Effect Model.
Representasi Pengetahuan (II)
Honesty often hurts Kejujuran seringkali menyakitkan But lie hurts more when it is found out Tapi kebohongan lebih menyakitkan saat diketahui.
K-Map Using different rules and properties in Boolean algebra can simplify Boolean equations May involve many of rules / properties during simplification.
Perancangan Database Pertemuan 07 s.d 08
Sistem Operasi 7 “Deadlock”.
Proses Stokastik Semester Ganjil 2013/2014
1 Pertemuan 21 Natural Language Processing Introduction Matakuliah: T0264/Intelijensia Semu Tahun: Juli 2006 Versi: 2/1.
Presented By : Group 2. A solution of an equation in two variables of the form. Ax + By = C and Ax + By + C = 0 A and B are not both zero, is an ordered.
Research Design (Cont). Jenis Perancangan Riset Jenis perancangan mana yg akan digunakan ? Peneliti perlu memikirkan tentang apa yang mereka inginkan.
The steps to work with Power Point click Start> All Programs> Microsoft Office> Microsoft Office PowerPoint2007 klik Start>All Programs>Microsoft.
PERTEMUAN KE-6 UNIFIED MODELLING LANGUAGE (UML) (Part 2)
1 Pertemuan 15 Game Playing Matakuliah: T0264/Intelijensia Semu Tahun: Juli 2006 Versi: 2/1.
1 Pertemuan 10: Engine Trouble Matakuliah: G0942/Listening 1 Tahun: 2009 Versi: baru.
9.3 Geometric Sequences and Series. Objective To find specified terms and the common ratio in a geometric sequence. To find the partial sum of a geometric.
Smoothing. Basic Smoothing Models Moving average, weighted moving average, exponential smoothing Single and Double Smoothing First order exponential smoothing.
WELCOME TO ENGLISH CLASSROOM LANGUAGE.
STATISTIKA CHATPER 4 (Perhitungan Dispersi (Sebaran))
Modul 8. Organizational Patterns Relationship Among Ideas
Representasi Pengetahuan
Induksi Matematika.
Reasoning dengan Logika
Support System IT Putri Taqwa Prasetyaningrum,S.T.,M.T.
OPERASI PERKALIAN.
Matakuliah : I0014 / Biostatistika Tahun : 2005 Versi : V1 / R1
BAB VIII Representasi Citra
Pertemuan 17 Materi : Buku Wajib & Sumber Materi :
Matakuliah : I0014 / Biostatistika Tahun : 2005 Versi : V1 / R1
Logika Informatika Fajrian nur adnan, mcs.
Parabola Parabola.
KNOWLEDGE REPRESENTATION
Pertemuan 5 KONVERSI NFA MENJADI DFA
Significantly Significant
Operator Pada C Amaludin Arifia, M.Kom.
Pendugaan Parameter (II) Pertemuan 10
The Logical Basis For Computer Programming
LOGIKA DAN ALGORITMA HANIF AL FATTA M.KOM AMIKOM Yogyakarta 2006
Open and Closed Social Stratification
Reasoning and Planning
GEOMETRY GROUP 7 Loading... TRIANGLE Classifying Triangles The Pythagorean Theorem Special MATERI Classifying Triangles TRIANGLE The Pythagorean.
TRANSLATION Kadaruddin, S.Pd., M.Pd.
MATERI PERKULIAHAN KECERDASAN BUATAN
Teknik Pengujian Software
Pengantar Teknologi Informasi
Implementasi Logika Proposisi
Napkin Folding.
Magnitude and Vector Physics 1 By : Farev Mochamad Ihromi / 010
KONVERGENSI.
CSG3G3 Kercerdasan Mesin dan Artifisial Reasoning 1
VCD102 - Gambar Desain Desain Komunikasi VIsual
Group 3 About causal Conjunction Member : 1. Ahmad Fandia R. S.(01) 2. Hesti Rahayu(13) 3. Intan Nuraini(16) 4. Putri Nur J. (27) Class: XI Science 5.
Lesson 2-1 Conditional Statements 1 Lesson 2-1 Conditional Statements.
In this article, you can learn about how to synchronize AOL Mail with third-party applications like Gmail, Outlook, and Window Live Mail, Thunderbird.
Right, indonesia is a wonderful country who rich in power energy not only in term of number but also diversity. Energy needs in indonesia are increasingly.
Path Analysis. Path Diagram Single headed arrowruns from cause to effect Double headed bent arrow: correlation The model above assumes that all 5 variables.
Draw a picture that shows where the knife, fork, spoon, and napkin are placed in a table setting.
Wednesday/ September,  There are lots of problems with trade ◦ There may be some ways that some governments can make things better by intervening.
Transcript presentasi:

Wumpus World Propositional Logic

Wumpus World PEAS description Performance measure gold +1000, death -1000 -1 per step, -10 for using the arrow Environment Squares adjacent to wumpus are smelly Squares adjacent to pit are breezy Glitter iff gold is in the same square Shooting kills wumpus if you are facing it Shooting uses up the only arrow Grabbing picks up gold if in same square Releasing drops the gold in same square Sensors: Stench, Breeze, Glitter, Bump, Scream Actuators: Left turn, Right turn, Forward, Grab, Release, Shoot

Wumpus world characterization Single-agent? Yes – Wumpus is essentially a natural feature

Wumpus world sentences Let Pi,j be true if there is a pit in [i, j]; Pi,j Let Bi,j be true if there is a breeze in [i, j]; Bi,j  P1,1 , B1,1 , B2,1 "Pits cause breezes in adjacent squares" Bi, j  (Pi-1, j  Pi, j-1  Pi, j+1  Pj+1, j) B1,1  (P1,2  P2,1) B2,1  (P1,1  P2,2  P3,1) “Wumpus causes stench in adjacent squares“ (???)

Wumpus world sentences “No Stench means there is no wumpus in adjacent Square"  Si, j  (Wi-1, j  Wi, j-1  Wi, j+1  Wj+1, j)  S2,2  (W1,2  W2,1  W2,3  W3,2) “No Breeze means there is no pits in adjacent Square“  Bi, j  (Pi-1, j  Pi, j-1  Pi, j+1  Pj+1, j)  B2,2  (P1,2  P2,1  P2,3  P3,2)

Exploring Wumpuss World -1 A Agent Knowldege Ke mana agent akan berjalan dengan aman?  W1,1,  P1,1 , B1,1 , S1,1 B1,1  (P1,2  P2,1) S1,1  (W1,2  W2,1) Perlu Inferensi. Untuk kasus ini dapat digunakan resolusi.

Contoh Resolusi (Last Slide) ¬P V ¬Q V R ¬R 2 P ¬P V ¬Q 1 ¬T V Q ¬Q 4 ¬T T 5

Contoh Resolusi KB = (B1,1  (P1,2 P2,1))  B1,1 α = P1,2

Exploring Wumpuss World -2 A Agent Knowldege Setelah Inferensi di posisi (1,1) W1,2 W2,1 P1,2  P2,1,  W1,1,  P1,1 , B1,1 , S1,1 Dapat dikembangkan menjadi: B1,1  (P1,2  P2,1) S1,1  (W1,2  W2,1) Agent dapat memutuskan berjalan ke kanan atau ke atas

Exploring Wumpuss World -3 ok ok S W? P? A P? ok ok B ok ok B P A P? P? Di (2,1), agent mendeteksi BREEZE. B2,1  (P1,1  P2,2  P3,1) agent mendapatkan pengetahuan baru bahwa ada PIT di (2,2) atau di (3,1), tidak ada langkah valid selain kembali ke (1,1) Agent kembali ke (1,1) dan melanjutkan ke (1,2) Di (1,2) agent mendeteksi adanya STENCH dan tidak ada BREEZE S1,2  (W1,1  W2,2  W13) Tugas1: Lakukan Inferensi apakah (2,2) Aman!

Finding Wumpuss P TUGAS 2: (2,2) aman: P2,2 ,  W2,2 Agent sekarang mempunyai pengetahuan: P1,1 ,  W1,1 , P1,2 ,  W1,2, P2,1 ,  W2,1, P2,2 ,  W2,2 W? ok S ok W? A P? ok ok B P P? TUGAS 2: Dengan knowledge base yang dimiliki, temukanlah di mana wumpuss berada?

Exploring Wumpuss World Agent Perspective

Pro dan Kontra  Propositional logic is declarative  Propositional logic allows partial/disjunctive/negated information (unlike most data structures and databases)  Propositional logic is compositional: meaning of B1,1  P1,2 is derived from meaning of B1,1 and of P1,2  Meaning in propositional logic is context-independent (unlike natural language, where meaning depends on context)  Propositional logic has very limited expressive power (unlike natural language) E.g., cannot say "pits cause breezes in adjacent squares“ except by writing one sentence for each square

Kelemahan Proposisional Logic  Satu proposisi untuk satu statemen. Tidak bisa menunjukkan obyek dan hubungan antar obyek  Terlalu banyak proposisi yang harus digunakan. Metode Lain: Logika Predikat (First Order Logic)