SlideShare a Scribd company logo
1 of 38
George F Luger
ARTIFICIAL INTELLIGENCE 6th edition
Structures and Strategies for Complex Problem Solving
HEURISTIC SEARCH
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
4.0 Introduction
4.1 An Algorithm for Heuristic Search
4.2 Admissibility, Monotonicity, and
Informedness
4.3 Using Heuristics I n Games
4.4 Complexity Issues
4.5 Epilogue and References
4.6 Exercises
1
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.1 First three levels of the tic-tac-toe state space reduced by symmetry
2
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.2 The โ€œmost winsโ€ heuristic applied to the first children in tic-tac-toe.
3
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.3 Heuristically reduced state space for tic-tac-toe.
4
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.4 The local maximum problem for hill-climbing with 3-level look
ahead
5
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.5 The initialization stage and first step in completing the
array for character alignment using dynamic programming.
6
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.6 The completed array reflecting the maximum alignment information
for the strings.
7
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.7 A completed backward component of the dynamic programming
example giving one (of several possible) string alignments.
8
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.8 Initialization of minimum edit difference matrix between intention
and execution (adapted from Jurafsky and Martin, 2000).
9
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
10
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Intention
ntention delete I, cost 1
etention replace n with e, cost 2
exentionreplace t with x, cost 2
exenution insert u, cost 1
execution replace n with c, cost 2
Fig 4.9 Complete array of minimum edit difference between intention and execution
(adapted from Jurafsky and Martin, 2000) (of several possible) string alignments.
11
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
12
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.10 Heuristic search of a hypothetical state space.
13
A trace of the execution of best_first_search for Figure 4.4
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
14
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.11 Heuristic search of a hypothetical state space with open and closed
states highlighted.
15
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.12 The start state, first moves, and goal state for an example-8 puzzle.
16
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.14 Three heuristics applied to states in the 8-puzzle.
17
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.15 The heuristic f applied to states in the 8-puzzle.
18
The successive stages of open and closed that generate this graph are:
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
19
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.16 State space generated in heuristic search of the 8-puzzle graph.
20
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.17 Open and closed as they appear after the 3rd iteration of heuristic
search
21
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
22
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
23
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
24
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.18 Comparison of state space searched using heuristic search with space searched by
breadth-first search. The proportion of the graph searched heuristically is shaded.
The optimal search selection is in bold. Heuristic used is f(n) = g(n) + h(n) where
h(n) is tiles out of place.
25
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.19 State space for a variant of nim. Each state partitions the seven
matches into one or more piles.
26
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.20 Exhaustive minimax for the game of nim. Bold lines indicate
forced win for MAX. Each node is marked with its derived value (0
or 1) under minimax.
27
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.21 Minimax to a hypothetical state space. Leafstates show heuristic
values; internal states show backed-up values.
28
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.22 Heuristic measuring conflict applied to states of tic-tac-toe.
29
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.23 Two-ply minimax applied to the opening move of tic-tac-toe, from
Nilsson (1971).
30
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.24 Two ply minimax, and one of two possible MAX second moves,
from Nilsson (1971).
31
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.25 Two-ply minimax applied to Xโ€™s move near the end of the game,
from Nilsson (1971).
32
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.26 Alpha-beta pruning applied to state space of Fig 4.21. States without
numbers are not evaluated.
33
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.27 Number of nodes generated as a function of branching factor,
B, for various lengths, L, of solution paths. The relating equation
is T = B(BL
โ€“ 1)/(B โ€“ 1), adapted from Nilsson (1980).
34
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.28 Informal plot of cost of searching and cost of computing
heuristic evaluation against informedness of heuristic, adapted
from Nilsson (1980).
35
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.29 The sliding block puzzle.
36
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.30.
37
Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009
Fig 4.31.
38

More Related Content

What's hot (12)

Artificial Intelligence
Artificial Intelligence Artificial Intelligence
Artificial Intelligence
ย 
Artificial Intelligence
Artificial Intelligence Artificial Intelligence
Artificial Intelligence
ย 
Artificial Intelligence
Artificial Intelligence Artificial Intelligence
Artificial Intelligence
ย 
Artificial Intelligence
Artificial Intelligence Artificial Intelligence
Artificial Intelligence
ย 
Artificial Intelligence
Artificial Intelligence Artificial Intelligence
Artificial Intelligence
ย 
Artificial Intelligence
Artificial Intelligence Artificial Intelligence
Artificial Intelligence
ย 
Generalized Notions of Data Depth
Generalized Notions of Data DepthGeneralized Notions of Data Depth
Generalized Notions of Data Depth
ย 
Karnaugh Map
Karnaugh MapKarnaugh Map
Karnaugh Map
ย 
Alpha Go: in few slides
Alpha Go: in few slidesAlpha Go: in few slides
Alpha Go: in few slides
ย 
On First-Order Meta-Learning Algorithms
On First-Order Meta-Learning AlgorithmsOn First-Order Meta-Learning Algorithms
On First-Order Meta-Learning Algorithms
ย 
New Insights and Perspectives on the Natural Gradient Method
New Insights and Perspectives on the Natural Gradient MethodNew Insights and Perspectives on the Natural Gradient Method
New Insights and Perspectives on the Natural Gradient Method
ย 
Chapter 5: Location of the consumer
Chapter 5: Location of the consumerChapter 5: Location of the consumer
Chapter 5: Location of the consumer
ย 

Viewers also liked

Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
Javaria Chiragh
ย 
Financial management and policy chapter 6
Financial management and policy chapter 6Financial management and policy chapter 6
Financial management and policy chapter 6
WINNERbd.it
ย 
์•„๋“œ๋ ˆ๋‹Œ ๊ตฌ์ž…๋ฐฉ๋ฒ• ์นดํ†ก:DDF11 & DDF11.KR ์•„๋“œ๋ ˆ๋‹Œ 50mg๊ตฌ์ž…,์•„๋“œ๋ ˆ๋‹Œ ์ •ํ’ˆ๊ตฌํ•˜๋Š”๋ฐฉ๋ฒ•,์•„๋“œ๋ ˆ๋‹Œ ๊ฑฐ๋ž˜,์•„๋“œ๋ ˆ๋‹Œ ์กฐ์น˜๋ฒ•,์•„๋“œ๋ ˆ๋‹Œ ...
์•„๋“œ๋ ˆ๋‹Œ ๊ตฌ์ž…๋ฐฉ๋ฒ• ์นดํ†ก:DDF11 & DDF11.KR ์•„๋“œ๋ ˆ๋‹Œ 50mg๊ตฌ์ž…,์•„๋“œ๋ ˆ๋‹Œ ์ •ํ’ˆ๊ตฌํ•˜๋Š”๋ฐฉ๋ฒ•,์•„๋“œ๋ ˆ๋‹Œ ๊ฑฐ๋ž˜,์•„๋“œ๋ ˆ๋‹Œ ์กฐ์น˜๋ฒ•,์•„๋“œ๋ ˆ๋‹Œ ...์•„๋“œ๋ ˆ๋‹Œ ๊ตฌ์ž…๋ฐฉ๋ฒ• ์นดํ†ก:DDF11 & DDF11.KR ์•„๋“œ๋ ˆ๋‹Œ 50mg๊ตฌ์ž…,์•„๋“œ๋ ˆ๋‹Œ ์ •ํ’ˆ๊ตฌํ•˜๋Š”๋ฐฉ๋ฒ•,์•„๋“œ๋ ˆ๋‹Œ ๊ฑฐ๋ž˜,์•„๋“œ๋ ˆ๋‹Œ ์กฐ์น˜๋ฒ•,์•„๋“œ๋ ˆ๋‹Œ ...
์•„๋“œ๋ ˆ๋‹Œ ๊ตฌ์ž…๋ฐฉ๋ฒ• ์นดํ†ก:DDF11 & DDF11.KR ์•„๋“œ๋ ˆ๋‹Œ 50mg๊ตฌ์ž…,์•„๋“œ๋ ˆ๋‹Œ ์ •ํ’ˆ๊ตฌํ•˜๋Š”๋ฐฉ๋ฒ•,์•„๋“œ๋ ˆ๋‹Œ ๊ฑฐ๋ž˜,์•„๋“œ๋ ˆ๋‹Œ ์กฐ์น˜๋ฒ•,์•„๋“œ๋ ˆ๋‹Œ ...
bark man
ย 
๋น„์•„๊ทธ๋ผ ๊ตฌ์ž…๋ฐฉ๋ฒ• ์นดํ†ก:DDF11 & DDF11.KR ๋น„์•„๊ทธ๋ผ 100mg๊ตฌ๋งค,๋น„์•„๊ทธ๋ผ ์ธํ„ฐ๋„ท๊ตฌ๋งค,๋น„์•„๊ทธ๋ผ ์ธํ„ฐ๋„ท์ •ํ’ˆ๊ตฌ๋งค,๋น„์•„๊ทธ๋ผ ์ธํ„ฐ๋„ท์ •ํ’ˆ...
๋น„์•„๊ทธ๋ผ ๊ตฌ์ž…๋ฐฉ๋ฒ• ์นดํ†ก:DDF11 & DDF11.KR ๋น„์•„๊ทธ๋ผ 100mg๊ตฌ๋งค,๋น„์•„๊ทธ๋ผ ์ธํ„ฐ๋„ท๊ตฌ๋งค,๋น„์•„๊ทธ๋ผ ์ธํ„ฐ๋„ท์ •ํ’ˆ๊ตฌ๋งค,๋น„์•„๊ทธ๋ผ ์ธํ„ฐ๋„ท์ •ํ’ˆ...๋น„์•„๊ทธ๋ผ ๊ตฌ์ž…๋ฐฉ๋ฒ• ์นดํ†ก:DDF11 & DDF11.KR ๋น„์•„๊ทธ๋ผ 100mg๊ตฌ๋งค,๋น„์•„๊ทธ๋ผ ์ธํ„ฐ๋„ท๊ตฌ๋งค,๋น„์•„๊ทธ๋ผ ์ธํ„ฐ๋„ท์ •ํ’ˆ๊ตฌ๋งค,๋น„์•„๊ทธ๋ผ ์ธํ„ฐ๋„ท์ •ํ’ˆ...
๋น„์•„๊ทธ๋ผ ๊ตฌ์ž…๋ฐฉ๋ฒ• ์นดํ†ก:DDF11 & DDF11.KR ๋น„์•„๊ทธ๋ผ 100mg๊ตฌ๋งค,๋น„์•„๊ทธ๋ผ ์ธํ„ฐ๋„ท๊ตฌ๋งค,๋น„์•„๊ทธ๋ผ ์ธํ„ฐ๋„ท์ •ํ’ˆ๊ตฌ๋งค,๋น„์•„๊ทธ๋ผ ์ธํ„ฐ๋„ท์ •ํ’ˆ...
bark man
ย 
Michael Muttikal Devassy Resume - 26-Sep-2015 (1)
Michael Muttikal Devassy Resume - 26-Sep-2015 (1)Michael Muttikal Devassy Resume - 26-Sep-2015 (1)
Michael Muttikal Devassy Resume - 26-Sep-2015 (1)
michael devassy
ย 
๋ ˆ๋น„ํŠธ๋ผ ๊ตฌ์ž…๋ฐฉ๋ฒ• ์นดํ†ก:DDF11 & DDF11.KR ๋ ˆ๋น„ํŠธ๋ผ ์ •ํ’ˆ์ฒ˜๋ฐฉ๋ฐฉ๋ฒ•,๋ ˆ๋น„ํŠธ๋ผ ์ •ํ’ˆํ›„๋ถˆ,๋ ˆ๋น„ํŠธ๋ผ ์ •ํ’ˆ์•ฝํšจ,๋ ˆ๋น„ํŠธ๋ผ ๊ตฌ์ž…๊ฐ€๊ฒฉ,๋ ˆ๋น„ํŠธ๋ผ ...
๋ ˆ๋น„ํŠธ๋ผ ๊ตฌ์ž…๋ฐฉ๋ฒ• ์นดํ†ก:DDF11 & DDF11.KR ๋ ˆ๋น„ํŠธ๋ผ ์ •ํ’ˆ์ฒ˜๋ฐฉ๋ฐฉ๋ฒ•,๋ ˆ๋น„ํŠธ๋ผ ์ •ํ’ˆํ›„๋ถˆ,๋ ˆ๋น„ํŠธ๋ผ ์ •ํ’ˆ์•ฝํšจ,๋ ˆ๋น„ํŠธ๋ผ ๊ตฌ์ž…๊ฐ€๊ฒฉ,๋ ˆ๋น„ํŠธ๋ผ ...๋ ˆ๋น„ํŠธ๋ผ ๊ตฌ์ž…๋ฐฉ๋ฒ• ์นดํ†ก:DDF11 & DDF11.KR ๋ ˆ๋น„ํŠธ๋ผ ์ •ํ’ˆ์ฒ˜๋ฐฉ๋ฐฉ๋ฒ•,๋ ˆ๋น„ํŠธ๋ผ ์ •ํ’ˆํ›„๋ถˆ,๋ ˆ๋น„ํŠธ๋ผ ์ •ํ’ˆ์•ฝํšจ,๋ ˆ๋น„ํŠธ๋ผ ๊ตฌ์ž…๊ฐ€๊ฒฉ,๋ ˆ๋น„ํŠธ๋ผ ...
๋ ˆ๋น„ํŠธ๋ผ ๊ตฌ์ž…๋ฐฉ๋ฒ• ์นดํ†ก:DDF11 & DDF11.KR ๋ ˆ๋น„ํŠธ๋ผ ์ •ํ’ˆ์ฒ˜๋ฐฉ๋ฐฉ๋ฒ•,๋ ˆ๋น„ํŠธ๋ผ ์ •ํ’ˆํ›„๋ถˆ,๋ ˆ๋น„ํŠธ๋ผ ์ •ํ’ˆ์•ฝํšจ,๋ ˆ๋น„ํŠธ๋ผ ๊ตฌ์ž…๊ฐ€๊ฒฉ,๋ ˆ๋น„ํŠธ๋ผ ...
bark man
ย 

Viewers also liked (14)

Artificial Intelligence
Artificial Intelligence Artificial Intelligence
Artificial Intelligence
ย 
Game Playing in Artificial Intelligence
Game Playing in Artificial IntelligenceGame Playing in Artificial Intelligence
Game Playing in Artificial Intelligence
ย 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
ย 
Financial management and policy chapter 6
Financial management and policy chapter 6Financial management and policy chapter 6
Financial management and policy chapter 6
ย 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
ย 
What is knowledge representation and reasoning ?
What is knowledge representation and reasoning ?What is knowledge representation and reasoning ?
What is knowledge representation and reasoning ?
ย 
Tic tac toe with IBM DevOps
Tic tac toe with IBM DevOpsTic tac toe with IBM DevOps
Tic tac toe with IBM DevOps
ย 
Ai history to-m-learning
Ai history to-m-learningAi history to-m-learning
Ai history to-m-learning
ย 
์•„๋“œ๋ ˆ๋‹Œ ๊ตฌ์ž…๋ฐฉ๋ฒ• ์นดํ†ก:DDF11 & DDF11.KR ์•„๋“œ๋ ˆ๋‹Œ 50mg๊ตฌ์ž…,์•„๋“œ๋ ˆ๋‹Œ ์ •ํ’ˆ๊ตฌํ•˜๋Š”๋ฐฉ๋ฒ•,์•„๋“œ๋ ˆ๋‹Œ ๊ฑฐ๋ž˜,์•„๋“œ๋ ˆ๋‹Œ ์กฐ์น˜๋ฒ•,์•„๋“œ๋ ˆ๋‹Œ ...
์•„๋“œ๋ ˆ๋‹Œ ๊ตฌ์ž…๋ฐฉ๋ฒ• ์นดํ†ก:DDF11 & DDF11.KR ์•„๋“œ๋ ˆ๋‹Œ 50mg๊ตฌ์ž…,์•„๋“œ๋ ˆ๋‹Œ ์ •ํ’ˆ๊ตฌํ•˜๋Š”๋ฐฉ๋ฒ•,์•„๋“œ๋ ˆ๋‹Œ ๊ฑฐ๋ž˜,์•„๋“œ๋ ˆ๋‹Œ ์กฐ์น˜๋ฒ•,์•„๋“œ๋ ˆ๋‹Œ ...์•„๋“œ๋ ˆ๋‹Œ ๊ตฌ์ž…๋ฐฉ๋ฒ• ์นดํ†ก:DDF11 & DDF11.KR ์•„๋“œ๋ ˆ๋‹Œ 50mg๊ตฌ์ž…,์•„๋“œ๋ ˆ๋‹Œ ์ •ํ’ˆ๊ตฌํ•˜๋Š”๋ฐฉ๋ฒ•,์•„๋“œ๋ ˆ๋‹Œ ๊ฑฐ๋ž˜,์•„๋“œ๋ ˆ๋‹Œ ์กฐ์น˜๋ฒ•,์•„๋“œ๋ ˆ๋‹Œ ...
์•„๋“œ๋ ˆ๋‹Œ ๊ตฌ์ž…๋ฐฉ๋ฒ• ์นดํ†ก:DDF11 & DDF11.KR ์•„๋“œ๋ ˆ๋‹Œ 50mg๊ตฌ์ž…,์•„๋“œ๋ ˆ๋‹Œ ์ •ํ’ˆ๊ตฌํ•˜๋Š”๋ฐฉ๋ฒ•,์•„๋“œ๋ ˆ๋‹Œ ๊ฑฐ๋ž˜,์•„๋“œ๋ ˆ๋‹Œ ์กฐ์น˜๋ฒ•,์•„๋“œ๋ ˆ๋‹Œ ...
ย 
Web2expo 2011u
Web2expo 2011uWeb2expo 2011u
Web2expo 2011u
ย 
๋น„์•„๊ทธ๋ผ ๊ตฌ์ž…๋ฐฉ๋ฒ• ์นดํ†ก:DDF11 & DDF11.KR ๋น„์•„๊ทธ๋ผ 100mg๊ตฌ๋งค,๋น„์•„๊ทธ๋ผ ์ธํ„ฐ๋„ท๊ตฌ๋งค,๋น„์•„๊ทธ๋ผ ์ธํ„ฐ๋„ท์ •ํ’ˆ๊ตฌ๋งค,๋น„์•„๊ทธ๋ผ ์ธํ„ฐ๋„ท์ •ํ’ˆ...
๋น„์•„๊ทธ๋ผ ๊ตฌ์ž…๋ฐฉ๋ฒ• ์นดํ†ก:DDF11 & DDF11.KR ๋น„์•„๊ทธ๋ผ 100mg๊ตฌ๋งค,๋น„์•„๊ทธ๋ผ ์ธํ„ฐ๋„ท๊ตฌ๋งค,๋น„์•„๊ทธ๋ผ ์ธํ„ฐ๋„ท์ •ํ’ˆ๊ตฌ๋งค,๋น„์•„๊ทธ๋ผ ์ธํ„ฐ๋„ท์ •ํ’ˆ...๋น„์•„๊ทธ๋ผ ๊ตฌ์ž…๋ฐฉ๋ฒ• ์นดํ†ก:DDF11 & DDF11.KR ๋น„์•„๊ทธ๋ผ 100mg๊ตฌ๋งค,๋น„์•„๊ทธ๋ผ ์ธํ„ฐ๋„ท๊ตฌ๋งค,๋น„์•„๊ทธ๋ผ ์ธํ„ฐ๋„ท์ •ํ’ˆ๊ตฌ๋งค,๋น„์•„๊ทธ๋ผ ์ธํ„ฐ๋„ท์ •ํ’ˆ...
๋น„์•„๊ทธ๋ผ ๊ตฌ์ž…๋ฐฉ๋ฒ• ์นดํ†ก:DDF11 & DDF11.KR ๋น„์•„๊ทธ๋ผ 100mg๊ตฌ๋งค,๋น„์•„๊ทธ๋ผ ์ธํ„ฐ๋„ท๊ตฌ๋งค,๋น„์•„๊ทธ๋ผ ์ธํ„ฐ๋„ท์ •ํ’ˆ๊ตฌ๋งค,๋น„์•„๊ทธ๋ผ ์ธํ„ฐ๋„ท์ •ํ’ˆ...
ย 
Michael Muttikal Devassy Resume - 26-Sep-2015 (1)
Michael Muttikal Devassy Resume - 26-Sep-2015 (1)Michael Muttikal Devassy Resume - 26-Sep-2015 (1)
Michael Muttikal Devassy Resume - 26-Sep-2015 (1)
ย 
๋ ˆ๋น„ํŠธ๋ผ ๊ตฌ์ž…๋ฐฉ๋ฒ• ์นดํ†ก:DDF11 & DDF11.KR ๋ ˆ๋น„ํŠธ๋ผ ์ •ํ’ˆ์ฒ˜๋ฐฉ๋ฐฉ๋ฒ•,๋ ˆ๋น„ํŠธ๋ผ ์ •ํ’ˆํ›„๋ถˆ,๋ ˆ๋น„ํŠธ๋ผ ์ •ํ’ˆ์•ฝํšจ,๋ ˆ๋น„ํŠธ๋ผ ๊ตฌ์ž…๊ฐ€๊ฒฉ,๋ ˆ๋น„ํŠธ๋ผ ...
๋ ˆ๋น„ํŠธ๋ผ ๊ตฌ์ž…๋ฐฉ๋ฒ• ์นดํ†ก:DDF11 & DDF11.KR ๋ ˆ๋น„ํŠธ๋ผ ์ •ํ’ˆ์ฒ˜๋ฐฉ๋ฐฉ๋ฒ•,๋ ˆ๋น„ํŠธ๋ผ ์ •ํ’ˆํ›„๋ถˆ,๋ ˆ๋น„ํŠธ๋ผ ์ •ํ’ˆ์•ฝํšจ,๋ ˆ๋น„ํŠธ๋ผ ๊ตฌ์ž…๊ฐ€๊ฒฉ,๋ ˆ๋น„ํŠธ๋ผ ...๋ ˆ๋น„ํŠธ๋ผ ๊ตฌ์ž…๋ฐฉ๋ฒ• ์นดํ†ก:DDF11 & DDF11.KR ๋ ˆ๋น„ํŠธ๋ผ ์ •ํ’ˆ์ฒ˜๋ฐฉ๋ฐฉ๋ฒ•,๋ ˆ๋น„ํŠธ๋ผ ์ •ํ’ˆํ›„๋ถˆ,๋ ˆ๋น„ํŠธ๋ผ ์ •ํ’ˆ์•ฝํšจ,๋ ˆ๋น„ํŠธ๋ผ ๊ตฌ์ž…๊ฐ€๊ฒฉ,๋ ˆ๋น„ํŠธ๋ผ ...
๋ ˆ๋น„ํŠธ๋ผ ๊ตฌ์ž…๋ฐฉ๋ฒ• ์นดํ†ก:DDF11 & DDF11.KR ๋ ˆ๋น„ํŠธ๋ผ ์ •ํ’ˆ์ฒ˜๋ฐฉ๋ฐฉ๋ฒ•,๋ ˆ๋น„ํŠธ๋ผ ์ •ํ’ˆํ›„๋ถˆ,๋ ˆ๋น„ํŠธ๋ผ ์ •ํ’ˆ์•ฝํšจ,๋ ˆ๋น„ํŠธ๋ผ ๊ตฌ์ž…๊ฐ€๊ฒฉ,๋ ˆ๋น„ํŠธ๋ผ ...
ย 
Se7evn textual analysis
Se7evn textual analysisSe7evn textual analysis
Se7evn textual analysis
ย 

More from Muhammad Ahad

More from Muhammad Ahad (20)

11. operating-systems-part-2
11. operating-systems-part-211. operating-systems-part-2
11. operating-systems-part-2
ย 
11. operating-systems-part-1
11. operating-systems-part-111. operating-systems-part-1
11. operating-systems-part-1
ย 
10. compute-part-2
10. compute-part-210. compute-part-2
10. compute-part-2
ย 
10. compute-part-1
10. compute-part-110. compute-part-1
10. compute-part-1
ย 
09. storage-part-1
09. storage-part-109. storage-part-1
09. storage-part-1
ย 
08. networking-part-2
08. networking-part-208. networking-part-2
08. networking-part-2
ย 
08. networking
08. networking08. networking
08. networking
ย 
07. datacenters
07. datacenters07. datacenters
07. datacenters
ย 
06. security concept
06. security concept06. security concept
06. security concept
ย 
05. performance-concepts-26-slides
05. performance-concepts-26-slides05. performance-concepts-26-slides
05. performance-concepts-26-slides
ย 
05. performance-concepts
05. performance-concepts05. performance-concepts
05. performance-concepts
ย 
04. availability-concepts
04. availability-concepts04. availability-concepts
04. availability-concepts
ย 
03. non-functional-attributes-introduction-4-slides
03. non-functional-attributes-introduction-4-slides03. non-functional-attributes-introduction-4-slides
03. non-functional-attributes-introduction-4-slides
ย 
01. 03.-introduction-to-infrastructure
01. 03.-introduction-to-infrastructure01. 03.-introduction-to-infrastructure
01. 03.-introduction-to-infrastructure
ย 
01. 02. introduction (13 slides)
01.   02. introduction (13 slides)01.   02. introduction (13 slides)
01. 02. introduction (13 slides)
ย 
Chapter14
Chapter14Chapter14
Chapter14
ย 
Chapter13
Chapter13Chapter13
Chapter13
ย 
Chapter12
Chapter12Chapter12
Chapter12
ย 
Chapter11
Chapter11Chapter11
Chapter11
ย 
Chapter10
Chapter10Chapter10
Chapter10
ย 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
ย 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
ย 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(โ˜Ž๏ธ+971_581248768%)**%*]'#abortion pills for sale in dubai@
ย 

Recently uploaded (20)

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
ย 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
ย 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
ย 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
ย 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
ย 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
ย 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
ย 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
ย 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
ย 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
ย 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
ย 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
ย 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
ย 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
ย 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
ย 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
ย 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
ย 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
ย 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
ย 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
ย 

Artificial Intelligence

  • 1. George F Luger ARTIFICIAL INTELLIGENCE 6th edition Structures and Strategies for Complex Problem Solving HEURISTIC SEARCH Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 4.0 Introduction 4.1 An Algorithm for Heuristic Search 4.2 Admissibility, Monotonicity, and Informedness 4.3 Using Heuristics I n Games 4.4 Complexity Issues 4.5 Epilogue and References 4.6 Exercises 1
  • 2. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.1 First three levels of the tic-tac-toe state space reduced by symmetry 2
  • 3. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.2 The โ€œmost winsโ€ heuristic applied to the first children in tic-tac-toe. 3
  • 4. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.3 Heuristically reduced state space for tic-tac-toe. 4
  • 5. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.4 The local maximum problem for hill-climbing with 3-level look ahead 5
  • 6. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.5 The initialization stage and first step in completing the array for character alignment using dynamic programming. 6
  • 7. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.6 The completed array reflecting the maximum alignment information for the strings. 7
  • 8. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.7 A completed backward component of the dynamic programming example giving one (of several possible) string alignments. 8
  • 9. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.8 Initialization of minimum edit difference matrix between intention and execution (adapted from Jurafsky and Martin, 2000). 9
  • 10. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 10
  • 11. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Intention ntention delete I, cost 1 etention replace n with e, cost 2 exentionreplace t with x, cost 2 exenution insert u, cost 1 execution replace n with c, cost 2 Fig 4.9 Complete array of minimum edit difference between intention and execution (adapted from Jurafsky and Martin, 2000) (of several possible) string alignments. 11
  • 12. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 12
  • 13. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.10 Heuristic search of a hypothetical state space. 13
  • 14. A trace of the execution of best_first_search for Figure 4.4 Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 14
  • 15. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.11 Heuristic search of a hypothetical state space with open and closed states highlighted. 15
  • 16. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.12 The start state, first moves, and goal state for an example-8 puzzle. 16
  • 17. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.14 Three heuristics applied to states in the 8-puzzle. 17
  • 18. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.15 The heuristic f applied to states in the 8-puzzle. 18
  • 19. The successive stages of open and closed that generate this graph are: Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 19
  • 20. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.16 State space generated in heuristic search of the 8-puzzle graph. 20
  • 21. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.17 Open and closed as they appear after the 3rd iteration of heuristic search 21
  • 22. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 22
  • 23. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 23
  • 24. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 24
  • 25. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.18 Comparison of state space searched using heuristic search with space searched by breadth-first search. The proportion of the graph searched heuristically is shaded. The optimal search selection is in bold. Heuristic used is f(n) = g(n) + h(n) where h(n) is tiles out of place. 25
  • 26. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.19 State space for a variant of nim. Each state partitions the seven matches into one or more piles. 26
  • 27. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.20 Exhaustive minimax for the game of nim. Bold lines indicate forced win for MAX. Each node is marked with its derived value (0 or 1) under minimax. 27
  • 28. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.21 Minimax to a hypothetical state space. Leafstates show heuristic values; internal states show backed-up values. 28
  • 29. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.22 Heuristic measuring conflict applied to states of tic-tac-toe. 29
  • 30. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.23 Two-ply minimax applied to the opening move of tic-tac-toe, from Nilsson (1971). 30
  • 31. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.24 Two ply minimax, and one of two possible MAX second moves, from Nilsson (1971). 31
  • 32. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.25 Two-ply minimax applied to Xโ€™s move near the end of the game, from Nilsson (1971). 32
  • 33. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.26 Alpha-beta pruning applied to state space of Fig 4.21. States without numbers are not evaluated. 33
  • 34. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.27 Number of nodes generated as a function of branching factor, B, for various lengths, L, of solution paths. The relating equation is T = B(BL โ€“ 1)/(B โ€“ 1), adapted from Nilsson (1980). 34
  • 35. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.28 Informal plot of cost of searching and cost of computing heuristic evaluation against informedness of heuristic, adapted from Nilsson (1980). 35
  • 36. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.29 The sliding block puzzle. 36
  • 37. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.30. 37
  • 38. Luger: Artificial Intelligence, 6th edition. ยฉ Pearson Education Limited, 2009 Fig 4.31. 38

Editor's Notes

  1. Insert fig 4.4
  2. Insert fig 4.5 WITH BAADDCABDDA BBADC B A
  3. Insert fig 4.8
  4. Insert fig 4.12
  5. Insert fig 4.15
  6. Insert fig 4.16
  7. Insert def box page 146
  8. Insert def box, pg 147
  9. Insert def box, pg 148
  10. Insert fig 4.20
  11. Insert fig 4.21