1 Pertemuan 3 Heuristic Search Techniques Generate-and-Test Matakuliah: T0264/Inteligensia Semu Tahun: Juli 2006 Versi: 2/1.

Slides:



Advertisements
Similar presentations
Heuristic Search techniques
Advertisements

Heuristic Search Chapter 3.
Pertemuan 13 Threads Matakuliah: H0483 / Network Programming Tahun: 2005 Versi: 1.0.
1 Pertemuan 16 First & Second Conditionals Matakuliah: G0134 – Grammar III Tahun: 2005 Versi: revisi 1.
1 Pertemuan 12 Binary Search Tree Matakuliah: T0026/Struktur Data Tahun: 2005 Versi: 1/1.
1 Pertemuan 04 Proxy/Cache Matakuliah: H0491/Praktikum Jaringan Komputer Tahun: 2005 Versi: 1/0.
1 Pertemuan 22 Radix Sort Matakuliah: T0016/Algoritma dan Pemrograman Tahun: 2005 Versi: versi 2.
1 Pertemuan 15 The Business Owner’s View Matakuliah: A0194/Pengendalian Rekayasa Ulang Informasi Tahun: 2005 Versi: 1/5.
1 Pertemuan 6 Elementary UDP Sockets Matakuliah: H0483 / Network Programming Tahun: 2005 Versi: 1.0.
1 Pertemuan 22 Expressions of Time and preference Matakuliah: G0134 – Grammar III Tahun: 2005 Versi: revisi 1.
Dynamic SQL Pertemuan 11 Matakuliah: T0413/Current Popular IT II Tahun: 2007.
12 - Organisation Matakuliah: G0622/Bahasa Inggris 1 Tahun: 2005 Versi: 1.01.
1 Pertemuan 17 Third Conditional Matakuliah: G0134 – Grammar III Tahun: 2005 Versi: revisi 1.
1 Pertemuan 2 PROBLEMS, PROBLEM SPACES, AND SEARCH Matakuliah: T0264/Inteligensia Semu Tahun: 2005 Versi: 1/0.
Problem Solving by Searching
1 Pertemuan 22 Natural Language Processing Syntactic Processing Matakuliah: T0264/Intelijensia Semu Tahun: Juli 2006 Versi: 2/2.
1 Pertemuan 21 More Future Forms Matakuliah: G0134 – Grammar III Tahun: 2005 Versi: revisi 1.
1 Pertemuan 19 Leftist Tree Heap Matakuliah: T0026/Struktur Data Tahun: 2005 Versi: 1/1.
1 Using Search in Problem Solving Part II. 2 Basic Concepts Basic concepts: Initial state Goal/Target state Intermediate states Path from the initial.
1 Pertemuan 26 Object Relational Database Management System (Lanjutan) Matakuliah: M0174/OBJECT ORIENTED DATABASE Tahun: 2005 Versi: 1/0.
1 Pertemuan 23 Object database design (Lanjutan bagian 2) Matakuliah: M0174/OBJECT ORIENTED DATABASE Tahun: 2005 Versi: 1/0.
1 Pertemuan 13 BACK PROPAGATION Matakuliah: H0434/Jaringan Syaraf Tiruan Tahun: 2005 Versi: 1.
1 Pertemuan 7 Future Continuous & Future Perfect Matakuliah: G0134/Grammar III Tahun: 2005 Versi: revisi 1.
1 Pertemuan 14 Object Query Language (Lanjutan bagian 1) Matakuliah: M0174/OBJECT ORIENTED DATABASE Tahun: 2005 Versi: 1/0.
Using Search in Problem Solving
1 Pertemuan 5 The structure part of object data model Matakuliah: M0174/OBJECT ORIENTED DATABASE Tahun: 2005 Versi: 1/0.
1 Pertemuan 04 Expression Matakuliah: D0524 / Algoritma dan Pemrograman Komputer Tahun: 2005 Versi:
07 - Advertising Matakuliah: G0622/Bahasa Inggris 1 Tahun: 2005 Versi: 1.01.
1 Pertemuan 9 Making an outline Matakuliah: G1072 – Reading 1 Tahun: 2005 Versi: revisi 0.
1 Pertemuan 7 Scanning Matakuliah: G1072 Reading 1 Tahun: 2005 Versi: revisi 0.
1 Pertemuan 21 Audit Reporting Matakuliah:A0274/Pengelolaan Fungsi Audit Sistem Informasi Tahun: 2005 Versi: 1/1.
1 Pertemuan Kesembilan Sampling and Data Collection Matakuliah: MN J0412/ Riset Pemasaran Tahun: 2007 Versi:
1 Pertemuan 11 QUIZ Matakuliah: J0274/Akuntansi Manajemen Tahun: 2005 Versi: 01/00.
1 Pertemuan 20 Time & Condition Clauses with Future reference Matakuliah: G0134 – Grammar III Tahun: 2005 Versi: revisi 1.
1 Pertemuan 3: TRAVELING THROUGH TIME ZONES Matakuliah: G0942/Listening 1 Tahun: 2005 Versi: baru.
1 Pertemuan 18 I wish, If only Matakuliah: G0134 – Grammar III Tahun: 2005 Versi: revisi 1.
1 Pertemuan 13 Membangun Expert System Matakuliah: H0383/Sistem Berbasis Pengetahuan Tahun: 2005 Versi: 1/0.
1 Pertemuan 13 AVL Tree Matakuliah: T0026/Struktur Data Tahun: 2005 Versi: 1/1.
1 Pertemuan 9 The Manipulative part of the object data model Matakuliah: M0174/OBJECT ORIENTED DATABASE Tahun: 2005 Versi: 1/0.
1 Pertemuan 17 Planning Matakuliah: T0264/Intelijensia Semu Tahun: Juli 2006 Versi: 2/1.
1 Pertemuan #3 Clocks and Realtime Matakuliah: H0232/Sistem Waktu Nyata Tahun: 2005 Versi: 1/5.
1 Pertemuan 14 Phrases of agreement Matakuliah: G0134/Grammar III Tahun: 2005 Versi: revisi 1.
1 Pertemuan 06 Repetition Matakuliah: D0524 / Algoritma dan Pemrograman Komputer Tahun: 2005 Versi:
1 Pertemuan 25 Making It Happen Matakuliah: A0194/Pengendalian Rekayasa Ulang Informasi Tahun: 2005 Versi: 1/5.
13 - Organisation Matakuliah: G0622/Bahasa Inggris 1 Tahun: 2005 Versi: 1.01.
1 Pertemuan 10 The Manipulative part of the object data model (Lanjutan bagian 1) Matakuliah: M0174/OBJECT ORIENTED DATABASE Tahun: 2005 Versi: 1/0.
1 Pertemuan 20 Understanding Continued Matakuliah: T0264/Intelijensia Semu Tahun: Juli 2006 Versi: 2/1.
1 Pertemuan 8 The Object Definition Language (Lanjutan) Matakuliah: M0174/OBJECT ORIENTED DATABASE Tahun: 2005 Versi: 1/0.
Informed Search Next time: Search Application Reading: Machine Translation paper under Links Username and password will be mailed to class.
Brute Force Search Depth-first or Breadth-first search
Heuristic Search Heuristic - a “rule of thumb” used to help guide search often, something learned experientially and recalled when needed Heuristic Function.
Heuristic Search Techniques
A RTIFICIAL I NTELLIGENCE UNIT : 2 Search Techniques.
Artificial Intelligence LECTURE 4 ARTIFICIAL INTELLIGENCE LECTURES BY ENGR. QAZI ZIA.
Chapter 3 Heuristic Search Techniques
Search (continued) CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
1 Pertemuan 24 Forming the Passive Matakuliah: G0134 – Grammar III Tahun: 2005 Versi: revisi 1.
1 Pertemuan 16 The Business Owner’s View Matakuliah: A0194/Pengendalian Rekayasa Ulang Informasi Tahun: 2005 Versi: 1/5.
1 Pertemuan 8 Perenc & Peranc Sambungan Matakuliah: D0472/PERANCANGAN ELEMEN MESIN Tahun: 2005 Versi:
1 Pertemuan 6 The Future Matakuliah: G0134/Grammar III Tahun: 2005 Versi: revisi 1.
Best-first search is a search algorithm which explores a graph by expanding the most promising node chosen according to a specified rule.
1 Pertemuan 23 Making It Happen Matakuliah: A0194/Pengendalian Rekayasa Ulang Informasi Tahun: 2005 Versi: 1/5.
Pertemuan 2 PROBLEMS, PROBLEM SPACES, AND SEARCH
Pertemuan 04 Proxy/Cache
Pertemuan 20 The Business Views of the Technology Architecture
Table Pertemuan 10 Matakuliah : L0182 / Web & Animation Design
Pertemuan 22 The Business Views of the Technology Architecture
Matakuliah : Web Design
Heuristic search INT 404.
BEST FIRST SEARCH -OR Graph -A* Search -Agenda Search CSE 402
Presentation transcript:

1 Pertemuan 3 Heuristic Search Techniques Generate-and-Test Matakuliah: T0264/Inteligensia 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

4 Search Strategis A. Blind Search : Breadth-first search Depth-first search B. Heuristic Search : Generate-and-test Hill climbing Best-first search Problem reduction Constrain satisfaction Means-ends analysis

5 3.1 Generate-and-Test Algorithm : Generate-and-Test 1.Generate a possible solution. 2.Test to see if this actually a solution by comparing the chosen point or the endpoint of the chosen path to the set of acceptable goal states. 3.If a solution has been found, quit. Otherwise, return to step1.

6 Generate-and-Test Sales Traveling Problem Dengan Menggunakan Generate and test bisa ditentukan lintasan terpendek yang harus ditempuh oleh sales. A CD B

7 3.2 Hill-Climbing Algorithm : Simple Hill – Climbing 1.Evaluate the initial state. If it is also a goal state, then return it and quit. Otherwise, continue with the initial state as the current state. 2.Loop until a solution is found or until there are no new operators left to be applied in the current state : a.Select an operator that has not yet been applied to the current state and apply it to produce a new state.

8 Algorithm : Simple Hill – Climbing b.Evaluate the new state. i. If it is a goal state, then return it and quit. ii.If it is not a goal state but it is better than the current state, then make it the current state. iii. If it is not better than the current state, then continue in the loop.

9 Algorithm : Steepest – Ascent Hill Climbing 1.Evaluate the initial state. If it is also a goal state, then return it and quit. Otherwise, continue with the initial state as the current state. 2.Loop until a solution is found or until a complete iteration produces no change to current state : a. Let SUCC be a state such that any possible sucessor of the current state will be better than SUCC.

10 Algorithm : Steepest – Ascent Hill Climbing b.For each operator that applies to current state do : i. Apply the operator and generate a new state. ii. Evaluate the new state. If it is goal state, then return it and quit. If not, compare it to SUCC. If it is better, then set SUCC to this state. If it is not better, leave SUCC alone. c. If the SUCC is better than current state, then set current state to SUCC.

11 Kasus Sales Hill Climbing Operator yang digunakan : 1.Tukar kota 1 dengan 2 2.Tukar kota 2 dengan 3 3.Tukar kota 3 dengan 4 4.Tukar kota 4 dengan 1 5.Tukar kota 2 dengan 4 6.Tukar kota 1 dengan 3

12 Kasus Sales dengan Hill Climbing ABCD/19 ABDC/18BACD/12DBCA/12ADCB/18CBAD/20ACBD/12 BCAD/15BADC/12DACB/12BDCA/15CABD/16ABCD/19 Simple H. C.Steepest Acsent H. C.

13 Hill - Climbing Dangers

14 A Hill Climbing Problem A H G F E D C B Initial State H G F E D C B A Goal State

15 Three Possible Moves A H G F E D C B (a) A H G F E D C B (b) AH G F E D C B (c)

Best – First Search Step 1Step 2Step 3 Step 4 Step 5 A A B (3) C (5) D (1) A B (3) C (5) D E (4) F (6) A BC (5) D E (4) F (6) G H (5) A BC D EF (6) G H (5) I (2) J (1)

17 Algorithm : Best - First Search 1.Start with Open containing just the initial state 2.Until a goal is found or there are no nodes left on Open do: (a) Pick the best node on Open. (b) Generate its successors. (c) For each successor do : i.If it has not been generate before, evaluate it, add it to Open, and record its parent. ii.If it has been generate before, change the parent if this new path is better than previous one. In that case, update the cost of getting to this node and to any successors that this node may already have.

18 Underestimates A BCD E F (3+1)(4+1)(5+1) (3+2) (3+3)

19 Overestimates A BCD E F (3+1)(4+1)(5+1) (2+2) (1+3) G (0+4)

20 > End of Pertemuan 3 Good Luck