1 Pertemuan 15 Game Playing Matakuliah: T0264/Intelijensia Semu Tahun: Juli 2006 Versi: 2/1.

Slides:



Advertisements
Presentasi serupa
PENERAPAN KECERDASAN BUATAN
Advertisements

TEKNIK PENCARIAN (SEARCHING)
1 Algoritma Bahasa Pemrograman dan Bab 1.1. Pengertian Algoritma.
Game playing Kecerdasan Buatan Pertemuan 5 IT-EEPIS.
LABOR MARKET Kuliah 12. THE LABOR MARKET..1  When firms respond to an increase in demand by stepping up production : Higher production requires an increase.
Game Playing Stmik mdp Pengantar Games adalah fasilitas yang sangat menarik dalam komputer Ide games pertama kali dimunculkan oleh Calude Shannon.
Yufis Azhar – T.Informatika - UMM
Lecture 5 Minimax dengan αβ Pruning Erick Pranata
Pertemuan 23 Minimum Cost Spanning Tree
1 Pertemuan 02 Ukuran Pemusatan dan Lokasi Matakuliah: I Statistika Tahun: 2008 Versi: Revisi.
1 Pertemuan 16 Game Playing Continued Matakuliah: T0264/Intelijensia Semu Tahun: Juli 2006 Versi: 2/2.
Menjadi Orang yang Percaya Diri Pertemuan 9 Matakuliah: CB 1 Tahun:
1 Diselesaikan Oleh KOMPUTER Langkah-langkah harus tersusun secara LOGIS dan Efisien agar dapat menyelesaikan tugas dengan benar dan efisien. ALGORITMA.
1 Pertemuan 09 Kebutuhan Sistem Matakuliah: T0234 / Sistem Informasi Geografis Tahun: 2005 Versi: 01/revisi 1.
1 Pertemuan 9 DIVIDE And CONQUER Matakuliah: T0034/Perancangan & Analisis Algoritma Tahun: 2005 Versi: R1/0.
Matakuliah : T0534/Struktur Data Tahun : 2005 Versi : September 2005
1 Pertemuan 12 Pengkodean & Implementasi Matakuliah: T0234 / Sistem Informasi Geografis Tahun: 2005 Versi: 01/revisi 1.
Pendugaan Parameter Proporsi dan Varians (Ragam) Pertemuan 14 Matakuliah: L0104 / Statistika Psikologi Tahun : 2008.
1 Pertemuan 10 Statistical Reasoning Matakuliah: T0264/Inteligensia Semu Tahun: Juli 2006 Versi: 2/1.
1 Pertemuan 6 Using Predicate logic Matakuliah: T0264/Inteligensia Semu Tahun: Juli 2006 Versi: 2/1.
Masalah Transportasi II (Transportation Problem II)
1 Pertemuan 10 Fungsi Kepekatan Khusus Matakuliah: I0134 – Metode Statistika Tahun: 2007.
1 Pertemuan 17 Heaps Matakuliah: T0026/Struktur Data Tahun: 2005 Versi: 1/1.
HAMPIRAN NUMERIK SOLUSI PERSAMAAN NIRLANJAR Pertemuan 3
1 Pertemuan 11 OPTIMASI KINERJA Matakuliah: H0434/Jaringan Syaraf Tiruan Tahun: 2005 Versi: 1.
1 Pertemuan 8 JARINGAN COMPETITIVE Matakuliah: H0434/Jaringan Syaraf Tiruan Tahun: 2005 Versi: 1.
Sistem Pakar Pertemuan II “Inteligensia Semu” (Lanjutan)
1 Pertemuan 7: UNDERSTANDING ACCENTS (1) Matakuliah: G0942/Listening 1 Tahun: 2005 Versi: baru.
1 Pertemuan > > Matakuliah: >/ > Tahun: > Versi: >
1 Pertemuan 13 Algoritma Pergantian Page Matakuliah: T0316/sistem Operasi Tahun: 2005 Versi/Revisi: 5.
1 Pertemuan 12 B-Tree Matakuliah: T0534/Struktur Data Tahun: 2005 Versi: September 2005.
1 Pertemuan 6 Komunikasi antar Proses (IPC) Lanjutan Matakuliah: T0316/sistem Operasi Tahun: 2005 Versi/Revisi: 5 OFFCLASS01.
Pertemuan 14 Algoritma Pergantian Page (lanjutan)
Medium for Teaching SMA Grade X Semester 2
Ukuran Pemusatan dan Lokasi Pertemuan 03 Matakuliah: L0104 / Statistika Psikologi Tahun : 2008.
Binary Search Tree. Sebuah node di Binary Search Tree memiliki path yang unik dari root menurut aturan ordering – Sebuah Node, mempunyai subtree kiri.
OPERATOR DAN FUNGSI MATEMATIK. Operator  Assignment operator Assignment operator (operator pengerjaan) menggunakan simbol titik dua diikuti oleh tanda.
Jartel, Sukiswo Sukiswo
STATISTIKA CHATPER 4 (Perhitungan Dispersi (Sebaran))
Pokok Bahasan 5 Algoritma Pemrosesan Paralel
Dynamic Array and Linked List
Branch and Bound Lecture 12 CS3024.
Konsep pemrograman LOOP
Pengujian Hipotesis (I) Pertemuan 11
Pertemuan 25 Uji Kesamaan Proporsi
Pertemuan 24 Teknik Searching
Pertemuan 5 KONVERSI NFA MENJADI DFA
Problem solving by Searching
CSG3F3/ Desain dan Analisis Algoritma
Uji Kesamaan Proporsi dan Uji Kebebasan Pertemuan 24
Pertemuan 20 Audit Reporting
Pertemuan 09 Pengujian Hipotesis 2
Fungsi Kepekatan Peluang Khusus Pertemuan 10
Master data Management
Pertemuan 4 CLASS DIAGRAM.
Oleh : Yusuf Nurrachman, ST .,MMSI
How Can I Be A Driver of The Month as I Am Working for Uber?
Things You Need to Know Before Running on the Beach.
Don’t Forget to Avail the Timely Offers with Uber
Takes Rides for Never Ending Fun pacehire.co.uk. It’s still Time to Make Fun Before the Holidays pacehire.co.uk.
Evidence-Based Medicine Prof. Carl Heneghan Director CEBM University of Oxford.
CALL BLOG REVIEW FATMA ISMED 12232/ K1-09.
Aplikasi Graph Minimum Spaning Tree Shortest Path.
Algoritma & Pemrograman 1 Achmad Fitro The Power of PowerPoint – thepopp.com Chapter 3.
If you are an user, then you know how spam affects your account. In this article, we tell you how you can control spam’s in your ZOHO.
"More Than Words" Saying I love you, Is not the words, I want to hear from you, It's not that I want you, Not to say but if you only knew, How easy, it.
Draw a picture that shows where the knife, fork, spoon, and napkin are placed in a table setting.
2. Discussion TASK 1. WORK IN PAIRS Ask your partner. Then, in turn your friend asks you A. what kinds of product are there? B. why do people want to.
By Group 5. Once upon a time a lion was roaming in the jungle in search of a prey. Luckily, he saw a rabbit sleeping fast under a tree. He was delighted.
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:

1 Pertemuan 15 Game Playing Matakuliah: T0264/Intelijensia Semu Tahun: Juli 2006 Versi: 2/1

2 Learning Outcomes Pada akhir pertemuan ini, diharapkan mahasiswa akan mampu : >

3 Outline Materi Materi 1 Materi 2 Materi 3 Materi 4 Materi 5

Overview Mudah untuk menentukan ukuran kesuksesan dan kegagalan (menang atau kalah). Perhatikan permainan Catur (chess). Rata-rata setiap node bercang sebanyak 35. Tiap pemain rata-rata bergerak 50 kali. Sehingga total dalam satu pohon permainan akan terdapat posisi sebanyak Netoda-metoda yang digunakan dalam game : Depth-limited search. Statistic evaluation function. Credit assignment problem. Minimax search algorithm.

Prosedur pencarian MINIMAX One-Ply Search : Two - Ply Search : A BC D (8) (3)(-2) A BCD EFG H I J K (9) (-6) (0) (-2)(-4) (-3)

6 Prosedur pencarian MINIMAX Backing Up the Values of a Two-Ply Search

7 Algorithm : MINIMAX (Position,Depth, Player) 1. If DEEP-ENOUGH(Position, Depth), then return the structure VALUE = STATIC(Position, Player); PATH = nil This indicates that there is no path from this node and that its value is determined by static evaluation function. 2. Otherwise,generate one more ply of the tree by calling the function MOVEGEN(Position,Player) and setting SUCCESORS to the list it returns. 3. If SUCCESORS is empty, then there are no moves to be made, so return the structure that would have been returned if DEEP-ENOUGH had returned true.

8 Algorithm contd’ 4. If SUCCESORS is not empty, then examine each element in turn and keep track of the best one. This is done as follows. Initialize BEST-SCORE to the minimum value that STATIC can return. It will be update to reflect the best score that can be achieved by an element of SUCCESORS. For each element SUCC of SUCCESORS, do the following : a) Set RESULT- SUCC to MINIMAX(SUCC, Depht + 1, OPPOSITE(Player)) This recursive call to MINIMAX will actually carry out the exploration of SUCC. b)Set NEW-VALUE to - VALUE(RESULT-SUCC). This will cause it to reflect the merits of the position from the opposite perspective from that of the next lower level. c)If NEW-VALUE > BEST-SCORE, then we found a succesor that is better than any that have been examined so far. Record this by doing the following :

9 Algorithm contd’ Set BEST-SCORE to NEW-VALUE. The best known path is now from CURRENT to SUCC and then on to the appropriate path down from SUCC as determined by the recursive call to MINIMAX. So set BEST-PATH to the result of attaching SUCC to the front of PATH(RESULT-SUCC). 5. Now that all the succesors have been examined, we know the value of Position as well as which path to take from it. So return the structure VALUE = BEST-SCORE PATH = BEST-PATH

10 Prosedur pencarian MINIMAX B -6 A -2 C D -4 E 9 F -6 G 0 I 0 H 1 J -2 K -4 L -3 MAX MIN

11 Prosedur pencarian MINIMAX Pada MINIMAX terdapat 2 prosedur yang dijalankan yaitu : maximize dilakukan oleh “saya” dan minimize dilakukan oleh “lawan”. Diperlukan fungsi evaluasi statis yang menyatakan nilai yang mungkin didapat oelh pemain. Pada level pertama “saya” melakukan maximize dan pada level kedua “lawan” melakukan minimize. Kelemahan metoda MINIMAX adalah harus mengunjungi semua node yang ada sebelum memutuskan langkah yang diambil.

12 > Untuk memperbaiki kelemahan metoda MINIMAX digunakan  -Cutoff atau  -pruning End of Pertemuan 15 Good Luck