SlideShare a Scribd company logo
1 of 253
Download to read offline
AI Informed Search Strategies
by Examples
MENOUFIA UNIVERSITY
FACULTY OF COMPUTERS AND INFORMATION
ALL DEPARTMENTS
ARTIFICIAL INTELLIGENCE
‫المنوفية‬ ‫جامعة‬
‫والمعلومات‬ ‫الحاسبات‬ ‫كلية‬
‫األقسام‬ ‫جميع‬
‫الذكاء‬‫اإلصطناعي‬
‫المنوفية‬ ‫جامعة‬
Ahmed Fawzy Gad
ahmed.fawzy@ci.menofia.edu.eg
Uninformed Search Vs. Informed Search OR
Heuristically Informed Search
Uninformed Search Vs. Informed Search OR
Heuristically Informed Search
Uninformed Search Vs. Informed Search OR
Heuristically Informed Search
Uninformed Search Vs. Informed Search OR
Heuristically Informed Search
Heuristic Evaluation
Function
Uninformed Search Vs. Informed Search OR
Heuristically Informed Search
Heuristic Evaluation
Function
Uninformed Search Vs. Informed Search OR
Heuristically Informed Search
Heuristic Evaluation
Function
Heuristic Value
Uninformed Search Vs. Informed Search OR
Heuristically Informed Search
Heuristic Evaluation
Function
Heuristic Value
Small Heuristic Value
Better Path
Uninformed Search Vs. Informed Search OR
Heuristically Informed Search
Heuristic Evaluation
Function
Heuristic Value
Small Heuristic Value
Better Path
h(C)
Uninformed Search Vs. Informed Search OR
Heuristically Informed Search
Heuristic Evaluation
Function
Heuristic Value
Small Heuristic Value
Better Path
h(C) h(B)
Uninformed Search Vs. Informed Search OR
Heuristically Informed Search
Heuristic Evaluation
Function
Heuristic Value
Small Heuristic Value
Better Path
h(C) h(B)<
Uninformed Search Vs. Informed Search OR
Heuristically Informed Search
Heuristic Evaluation
Function
Heuristic Value
Small Heuristic Value
Better Path
h(C) h(B)<C
Uninformed Search Vs. Informed Search OR
Heuristically Informed Search
Heuristic Evaluation
Function
Heuristic Value
Small Heuristic Value
Better Path
h(C) h(B)<C
Uninformed Search
NO INFORMATION
Direct Search
BEST PATH
Heuristic Evaluation Function
• Good heuristic evaluation function is what directs search to reach
goal with the smallest number of nodes.
• Good heuristic evaluation function is not time consuming in the
heuristic value calculation.
𝒉 𝟏𝑯𝒆𝒖𝒓𝒊𝒔𝒕𝒊𝒄 𝑭𝒖𝒏𝒄𝒕𝒊𝒐𝒏
Heuristic Evaluation Function
• Good heuristic evaluation function is what directs search to reach
goal with the smallest number of nodes.
• Good heuristic evaluation function is not time consuming in the
heuristic value calculation.
𝒉 𝟏 𝒉 𝟐𝑯𝒆𝒖𝒓𝒊𝒔𝒕𝒊𝒄 𝑭𝒖𝒏𝒄𝒕𝒊𝒐𝒏
Heuristic Evaluation Function
• Good heuristic evaluation function is what directs search to reach
goal with the smallest number of nodes.
• Good heuristic evaluation function is not time consuming in the
heuristic value calculation.
𝒉 𝟏 𝒉 𝟐𝑯𝒆𝒖𝒓𝒊𝒔𝒕𝒊𝒄 𝑭𝒖𝒏𝒄𝒕𝒊𝒐𝒏
# 𝒐𝒇 𝑵𝒐𝒅𝒆𝒔
Heuristic Evaluation Function
• Good heuristic evaluation function is what directs search to reach
goal with the smallest number of nodes.
• Good heuristic evaluation function is not time consuming in the
heuristic value calculation.
𝒉 𝟏 𝒉 𝟐
𝟓
𝑯𝒆𝒖𝒓𝒊𝒔𝒕𝒊𝒄 𝑭𝒖𝒏𝒄𝒕𝒊𝒐𝒏
# 𝒐𝒇 𝑵𝒐𝒅𝒆𝒔
Heuristic Evaluation Function
• Good heuristic evaluation function is what directs search to reach
goal with the smallest number of nodes.
• Good heuristic evaluation function is not time consuming in the
heuristic value calculation.
𝒉 𝟏 𝒉 𝟐
𝟓 𝟕
𝑯𝒆𝒖𝒓𝒊𝒔𝒕𝒊𝒄 𝑭𝒖𝒏𝒄𝒕𝒊𝒐𝒏
# 𝒐𝒇 𝑵𝒐𝒅𝒆𝒔
Heuristic Evaluation Function
• Good heuristic evaluation function is what directs search to reach
goal with the smallest number of nodes.
• Good heuristic evaluation function is not time consuming in the
heuristic value calculation.
𝒉 𝟏 𝒉 𝟐
𝟓 𝟕
𝒉 𝟏𝑯𝒆𝒖𝒓𝒊𝒔𝒕𝒊𝒄 𝑭𝒖𝒏𝒄𝒕𝒊𝒐𝒏
# 𝒐𝒇 𝑵𝒐𝒅𝒆𝒔
Heuristic Evaluation Function
• Good heuristic evaluation function is what directs search to reach
goal with the smallest number of nodes.
• Good heuristic evaluation function is not time consuming in the
heuristic value calculation.
𝒉 𝟏 𝒉 𝟐
𝟓 𝟕
𝒉 𝟏
𝟓
𝑯𝒆𝒖𝒓𝒊𝒔𝒕𝒊𝒄 𝑭𝒖𝒏𝒄𝒕𝒊𝒐𝒏
# 𝒐𝒇 𝑵𝒐𝒅𝒆𝒔
Heuristic Evaluation Function
• Good heuristic evaluation function is what directs search to reach
goal with the smallest number of nodes.
• Good heuristic evaluation function is not time consuming in the
heuristic value calculation.
𝒉 𝟏 𝒉 𝟐
𝟓 𝟕
𝒉 𝟏
𝟓
𝒉 𝟏
𝑯𝒆𝒖𝒓𝒊𝒔𝒕𝒊𝒄 𝑭𝒖𝒏𝒄𝒕𝒊𝒐𝒏
# 𝒐𝒇 𝑵𝒐𝒅𝒆𝒔
𝑯𝒆𝒖𝒓𝒊𝒔𝒕𝒊𝒄 𝑭𝒖𝒏𝒄𝒕𝒊𝒐𝒏
Heuristic Evaluation Function
• Good heuristic evaluation function is what directs search to reach
goal with the smallest number of nodes.
• Good heuristic evaluation function is not time consuming in the
heuristic value calculation.
𝒉 𝟏 𝒉 𝟐
𝟓 𝟕
𝒉 𝟏
𝟓
𝒉 𝟏 𝒉 𝟐
𝑯𝒆𝒖𝒓𝒊𝒔𝒕𝒊𝒄 𝑭𝒖𝒏𝒄𝒕𝒊𝒐𝒏
# 𝒐𝒇 𝑵𝒐𝒅𝒆𝒔
𝑯𝒆𝒖𝒓𝒊𝒔𝒕𝒊𝒄 𝑭𝒖𝒏𝒄𝒕𝒊𝒐𝒏
𝑻𝒊𝒎𝒆
Heuristic Evaluation Function
• Good heuristic evaluation function is what directs search to reach
goal with the smallest number of nodes.
• Good heuristic evaluation function is not time consuming in the
heuristic value calculation.
𝒉 𝟏 𝒉 𝟐
𝟓 𝟕
𝒉 𝟏
𝟓
𝒉 𝟏 𝒉 𝟐
𝟔𝟎𝒔
𝑯𝒆𝒖𝒓𝒊𝒔𝒕𝒊𝒄 𝑭𝒖𝒏𝒄𝒕𝒊𝒐𝒏
# 𝒐𝒇 𝑵𝒐𝒅𝒆𝒔
𝑯𝒆𝒖𝒓𝒊𝒔𝒕𝒊𝒄 𝑭𝒖𝒏𝒄𝒕𝒊𝒐𝒏
𝑻𝒊𝒎𝒆
Heuristic Evaluation Function
• Good heuristic evaluation function is what directs search to reach
goal with the smallest number of nodes.
• Good heuristic evaluation function is not time consuming in the
heuristic value calculation.
𝒉 𝟏 𝒉 𝟐
𝟓 𝟕
𝒉 𝟏
𝟓
𝒉 𝟏 𝒉 𝟐
𝟔𝟎𝒔 𝟏𝟎𝒔
𝑯𝒆𝒖𝒓𝒊𝒔𝒕𝒊𝒄 𝑭𝒖𝒏𝒄𝒕𝒊𝒐𝒏
# 𝒐𝒇 𝑵𝒐𝒅𝒆𝒔
𝑯𝒆𝒖𝒓𝒊𝒔𝒕𝒊𝒄 𝑭𝒖𝒏𝒄𝒕𝒊𝒐𝒏
𝑻𝒊𝒎𝒆
Heuristic Evaluation Function
• Good heuristic evaluation function is what directs search to reach
goal with the smallest number of nodes.
• Good heuristic evaluation function is not time consuming in the
heuristic value calculation.
𝒉 𝟏 𝒉 𝟐
𝟓 𝟕
𝒉 𝟏
𝟓
𝒉 𝟏 𝒉 𝟐
𝟔𝟎𝒔 𝟏𝟎𝒔
𝒉 𝟐
𝑯𝒆𝒖𝒓𝒊𝒔𝒕𝒊𝒄 𝑭𝒖𝒏𝒄𝒕𝒊𝒐𝒏
# 𝒐𝒇 𝑵𝒐𝒅𝒆𝒔
𝑯𝒆𝒖𝒓𝒊𝒔𝒕𝒊𝒄 𝑭𝒖𝒏𝒄𝒕𝒊𝒐𝒏
𝑻𝒊𝒎𝒆
Heuristic Evaluation Function
• Good heuristic evaluation function is what directs search to reach
goal with the smallest number of nodes.
• Good heuristic evaluation function is not time consuming in the
heuristic value calculation.
𝒉 𝟏 𝒉 𝟐
𝟓 𝟕
𝒉 𝟏
𝟓
𝒉 𝟏 𝒉 𝟐
𝟔𝟎𝒔 𝟏𝟎𝒔
𝒉 𝟐
𝟏𝟎𝒔
𝑯𝒆𝒖𝒓𝒊𝒔𝒕𝒊𝒄 𝑭𝒖𝒏𝒄𝒕𝒊𝒐𝒏
# 𝒐𝒇 𝑵𝒐𝒅𝒆𝒔
𝑯𝒆𝒖𝒓𝒊𝒔𝒕𝒊𝒄 𝑭𝒖𝒏𝒄𝒕𝒊𝒐𝒏
𝑻𝒊𝒎𝒆
Hill Climbing
Goal – Node G S ---
Current Children
Hill Climbing
Goal – Node G S ---
Current Children
S
Hill Climbing
Goal – Node G S ---
Current Children
S
S
Hill Climbing
Goal – Node G S ---
Current Children
S 𝑫 𝟖.𝟗, 𝑨 𝟏𝟎.𝟒
S
Hill Climbing
Goal – Node G S ---
Current Children
S 𝑫 𝟖.𝟗, 𝑨 𝟏𝟎.𝟒
D
S
Hill Climbing
Goal – Node G S ---
Current Children
S 𝑫 𝟖.𝟗, 𝑨 𝟏𝟎.𝟒
D ---
S
Hill Climbing
Goal – Node G S ---
Current Children
S 𝑫 𝟖.𝟗, 𝑨 𝟏𝟎.𝟒
D ---
S
D
Hill Climbing
Goal – Node G S ---
Current Children
S 𝑫 𝟖.𝟗, 𝑨 𝟏𝟎.𝟒
D ---
D
S
D
Hill Climbing
Goal – Node G S ---
Current Children
S 𝑫 𝟖.𝟗, 𝑨 𝟏𝟎.𝟒
D ---
D 𝑬 𝟔.𝟗, 𝑨 𝟏𝟎.𝟒
S
D
Hill Climbing
Goal – Node G S ---
Current Children
S 𝑫 𝟖.𝟗, 𝑨 𝟏𝟎.𝟒
D ---
D 𝑬 𝟔.𝟗, 𝑨 𝟏𝟎.𝟒
E
S
D
Hill Climbing
Goal – Node G S ---
Current Children
S 𝑫 𝟖.𝟗, 𝑨 𝟏𝟎.𝟒
D ---
D 𝑬 𝟔.𝟗, 𝑨 𝟏𝟎.𝟒
E ---
S
D
Hill Climbing
Goal – Node G S ---
Current Children
S 𝑫 𝟖.𝟗, 𝑨 𝟏𝟎.𝟒
D ---
D 𝑬 𝟔.𝟗, 𝑨 𝟏𝟎.𝟒
E ---
S
D
E
Hill Climbing
Goal – Node G S ---
Current Children
S 𝑫 𝟖.𝟗, 𝑨 𝟏𝟎.𝟒
D ---
D 𝑬 𝟔.𝟗, 𝑨 𝟏𝟎.𝟒
E ---
E
S
D
E
Hill Climbing
Goal – Node G S ---
Current Children
S 𝑫 𝟖.𝟗, 𝑨 𝟏𝟎.𝟒
D ---
D 𝑬 𝟔.𝟗, 𝑨 𝟏𝟎.𝟒
E ---
E 𝑭 𝟑.𝟎, 𝑩 𝟔.𝟕
S
D
E
Hill Climbing
Goal – Node G S ---
Current Children
S 𝑫 𝟖.𝟗, 𝑨 𝟏𝟎.𝟒
D ---
D 𝑬 𝟔.𝟗, 𝑨 𝟏𝟎.𝟒
E ---
E 𝑭 𝟑.𝟎, 𝑩 𝟔.𝟕
F
S
D
E
Hill Climbing
Goal – Node G S ---
Current Children
S 𝑫 𝟖.𝟗, 𝑨 𝟏𝟎.𝟒
D ---
D 𝑬 𝟔.𝟗, 𝑨 𝟏𝟎.𝟒
E ---
E 𝑭 𝟑.𝟎, 𝑩 𝟔.𝟕
F ---
S
D
E
Hill Climbing
Goal – Node G S ---
Current Children
S 𝑫 𝟖.𝟗, 𝑨 𝟏𝟎.𝟒
D ---
D 𝑬 𝟔.𝟗, 𝑨 𝟏𝟎.𝟒
E ---
E 𝑭 𝟑.𝟎, 𝑩 𝟔.𝟕
F ---
S
D
E
F
Hill Climbing
Goal – Node G S ---
Current Children
S 𝑫 𝟖.𝟗, 𝑨 𝟏𝟎.𝟒
D ---
D 𝑬 𝟔.𝟗, 𝑨 𝟏𝟎.𝟒
E ---
E 𝑭 𝟑.𝟎, 𝑩 𝟔.𝟕
F ---
F
S
D
E
F
Hill Climbing
Goal – Node G S ---
Current Children
S 𝑫 𝟖.𝟗, 𝑨 𝟏𝟎.𝟒
D ---
D 𝑬 𝟔.𝟗, 𝑨 𝟏𝟎.𝟒
E ---
E 𝑭 𝟑.𝟎, 𝑩 𝟔.𝟕
F ---
F G
S
D
E
F
Hill Climbing
Goal – Node G S ---
Current Children
S 𝑫 𝟖.𝟗, 𝑨 𝟏𝟎.𝟒
D ---
D 𝑬 𝟔.𝟗, 𝑨 𝟏𝟎.𝟒
E ---
E 𝑭 𝟑.𝟎, 𝑩 𝟔.𝟕
F ---
F G
S
D
E
F
Hill Climbing
Goal – Node G S ---
Current Children
S 𝑫 𝟖.𝟗, 𝑨 𝟏𝟎.𝟒
D ---
D 𝑬 𝟔.𝟗, 𝑨 𝟏𝟎.𝟒
E ---
E 𝑭 𝟑.𝟎, 𝑩 𝟔.𝟕
F ---
F G
S
D
E
F
G
Hill Climbing
Goal – Node G S ---
Current Children
S 𝑫 𝟖.𝟗, 𝑨 𝟏𝟎.𝟒
D ---
D 𝑬 𝟔.𝟗, 𝑨 𝟏𝟎.𝟒
E ---
E 𝑭 𝟑.𝟎, 𝑩 𝟔.𝟕
F ---
F G
S
D
E
F
G ---
Hill Climbing
Goal – Node G S ---
Current Children
S 𝑫 𝟖.𝟗, 𝑨 𝟏𝟎.𝟒
D ---
D 𝑬 𝟔.𝟗, 𝑨 𝟏𝟎.𝟒
E ---
E 𝑭 𝟑.𝟎, 𝑩 𝟔.𝟕
F ---
F G
S
D
E
F
GG ---
Hill Climbing
Goal – Node K
Local Maxima a ---
Current Children
Hill Climbing
Goal – Node K
Local Maxima a ---
Current Children
a
Hill Climbing
Goal – Node K
Local Maxima a ---
Current Children
a
a
Hill Climbing
Goal – Node K
Local Maxima a ---
Current Children
a 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
a
Hill Climbing
Goal – Node K
Local Maxima a ---
Current Children
a 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
f
a
Hill Climbing
Goal – Node K
Local Maxima a ---
Current Children
a 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
f ---
a
Hill Climbing
Goal – Node K
Local Maxima a ---
Current Children
a 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
f ---
a
f
Hill Climbing
Goal – Node K
Local Maxima a ---
Current Children
a 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
f ---
f
a
f
Hill Climbing
Goal – Node K
Local Maxima a ---
Current Children
a 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
f ---
f 𝒈 𝟑, 𝒆 𝟓
a
f
Hill Climbing
Goal – Node K
Local Maxima a ---
Current Children
a 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
f ---
f 𝒈 𝟑, 𝒆 𝟓
a
f
g
Hill Climbing
Goal – Node K
Local Maxima a ---
Current Children
a 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
f ---
f 𝒈 𝟑, 𝒆 𝟓
a
f
g ---
Hill Climbing
Goal – Node K
Local Maxima a ---
Current Children
a 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
f ---
f 𝒈 𝟑, 𝒆 𝟓
a
f
g ---g
Hill Climbing
Goal – Node K
Local Maxima a ---
Current Children
a 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
f ---
f 𝒈 𝟑, 𝒆 𝟓
a
f
g ---
g
g
Hill Climbing
Goal – Node K
Local Maxima a ---
Current Children
a 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
f ---
f 𝒈 𝟑, 𝒆 𝟓
a
f
g ---
g ---
g
Hill Climbing
Goal – Node K
Local Maxima a ---
Current Children
a 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
f ---
f 𝒈 𝟑, 𝒆 𝟓
a
f
g ---
g ---
g
Search Finished
No GOAL
Hill Climbing
Goal – Node K
Local Maxima a ---
Current Children
a 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
f ---
f 𝒈 𝟑, 𝒆 𝟓
a
f
g ---
g ---
g
Search Finished
No GOAL
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎
𝒂 𝟏𝟎
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕
𝒂 𝟏𝟎
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕
𝒂 𝟏𝟎
𝒇 𝟕
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒆 𝟓
𝒈 𝟑
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎𝒈 𝟑
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒆 𝟓
𝒈 𝟑
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒆 𝟓 𝒋 𝟖,𝒃 𝟏𝟎
𝒈 𝟑
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒆 𝟓 𝒋 𝟖,𝒃 𝟏𝟎
𝒈 𝟑
𝒆 𝟓
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒆 𝟓 𝒋 𝟖,𝒃 𝟏𝟎
𝒈 𝟑
𝒆 𝟓
𝒆 𝟓
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒆 𝟓 𝒋 𝟖,𝒃 𝟏𝟎
𝒈 𝟑
𝒆 𝟓
𝒆 𝟓 𝒊 𝟔,𝒋 𝟖,𝒃 𝟏𝟎
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒆 𝟓 𝒋 𝟖,𝒃 𝟏𝟎
𝒈 𝟑
𝒆 𝟓
𝒆 𝟓 𝒊 𝟔,𝒋 𝟖,𝒃 𝟏𝟎
𝒊 𝟔
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒆 𝟓 𝒋 𝟖,𝒃 𝟏𝟎
𝒈 𝟑
𝒆 𝟓
𝒆 𝟓 𝒊 𝟔,𝒋 𝟖,𝒃 𝟏𝟎
𝒊 𝟔 𝒋 𝟖,𝒃 𝟏𝟎
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒆 𝟓 𝒋 𝟖,𝒃 𝟏𝟎
𝒈 𝟑
𝒆 𝟓
𝒆 𝟓 𝒊 𝟔,𝒋 𝟖,𝒃 𝟏𝟎
𝒊 𝟔 𝒋 𝟖,𝒃 𝟏𝟎𝒊 𝟔
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒆 𝟓 𝒋 𝟖,𝒃 𝟏𝟎
𝒈 𝟑
𝒆 𝟓
𝒆 𝟓 𝒊 𝟔,𝒋 𝟖,𝒃 𝟏𝟎
𝒊 𝟔 𝒋 𝟖,𝒃 𝟏𝟎𝒊 𝟔
𝒊 𝟔
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒆 𝟓 𝒋 𝟖,𝒃 𝟏𝟎
𝒈 𝟑
𝒆 𝟓
𝒆 𝟓 𝒊 𝟔,𝒋 𝟖,𝒃 𝟏𝟎
𝒊 𝟔 𝒋 𝟖,𝒃 𝟏𝟎𝒊 𝟔
𝒊 𝟔 𝒌 𝟎,𝒋 𝟖,𝒃 𝟏𝟎
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒆 𝟓 𝒋 𝟖,𝒃 𝟏𝟎
𝒈 𝟑
𝒆 𝟓
𝒆 𝟓 𝒊 𝟔,𝒋 𝟖,𝒃 𝟏𝟎
𝒊 𝟔 𝒋 𝟖,𝒃 𝟏𝟎𝒊 𝟔
𝒊 𝟔 𝒌 𝟎,𝒋 𝟖,𝒃 𝟏𝟎
𝒌 𝟎
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒆 𝟓 𝒋 𝟖,𝒃 𝟏𝟎
𝒈 𝟑
𝒆 𝟓
𝒆 𝟓 𝒊 𝟔,𝒋 𝟖,𝒃 𝟏𝟎
𝒊 𝟔 𝒋 𝟖,𝒃 𝟏𝟎𝒊 𝟔
𝒊 𝟔 𝒌 𝟎,𝒋 𝟖,𝒃 𝟏𝟎
𝒌 𝟎 𝒋 𝟖,𝒃 𝟏𝟎
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒆 𝟓 𝒋 𝟖,𝒃 𝟏𝟎
𝒈 𝟑
𝒆 𝟓
𝒆 𝟓 𝒊 𝟔,𝒋 𝟖,𝒃 𝟏𝟎
𝒊 𝟔 𝒋 𝟖,𝒃 𝟏𝟎𝒊 𝟔
𝒊 𝟔 𝒌 𝟎,𝒋 𝟖,𝒃 𝟏𝟎
𝒌 𝟎 𝒋 𝟖,𝒃 𝟏𝟎𝒌 𝟎
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒆 𝟓 𝒋 𝟖,𝒃 𝟏𝟎
𝒈 𝟑
𝒆 𝟓
𝒆 𝟓 𝒊 𝟔,𝒋 𝟖,𝒃 𝟏𝟎
𝒊 𝟔 𝒋 𝟖,𝒃 𝟏𝟎𝒊 𝟔
𝒊 𝟔 𝒌 𝟎,𝒋 𝟖,𝒃 𝟏𝟎
𝒌 𝟎 𝒋 𝟖,𝒃 𝟏𝟎𝒌 𝟎
Similar to Uniform Cost
Just use Heuristic
& Avoids Cost
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒆 𝟓 𝒋 𝟖,𝒃 𝟏𝟎
𝒈 𝟑
𝒆 𝟓
𝒆 𝟓 𝒊 𝟔,𝒋 𝟖,𝒃 𝟏𝟎
𝒊 𝟔 𝒋 𝟖,𝒃 𝟏𝟎𝒊 𝟔
𝒊 𝟔 𝒌 𝟎,𝒋 𝟖,𝒃 𝟏𝟎
𝒌 𝟎 𝒋 𝟖,𝒃 𝟏𝟎𝒌 𝟎
Similar to Uniform Cost
Just use Heuristic
& Avoids Cost
Cost: Node to Node
Heuristic: Node to Goal
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒆 𝟓 𝒋 𝟖,𝒃 𝟏𝟎
𝒈 𝟑
𝒆 𝟓
𝒆 𝟓 𝒊 𝟔,𝒋 𝟖,𝒃 𝟏𝟎
𝒊 𝟔 𝒋 𝟖,𝒃 𝟏𝟎𝒊 𝟔
𝒊 𝟔 𝒌 𝟎,𝒋 𝟖,𝒃 𝟏𝟎
𝒌 𝟎 𝒋 𝟖,𝒃 𝟏𝟎𝒌 𝟎
Similar to Uniform Cost
Just use Heuristic
& Avoids Cost
Heuristic
Cost: Node to Node
Heuristic: Node to Goal
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒆 𝟓 𝒋 𝟖,𝒃 𝟏𝟎
𝒈 𝟑
𝒆 𝟓
𝒆 𝟓 𝒊 𝟔,𝒋 𝟖,𝒃 𝟏𝟎
𝒊 𝟔 𝒋 𝟖,𝒃 𝟏𝟎𝒊 𝟔
𝒊 𝟔 𝒌 𝟎,𝒋 𝟖,𝒃 𝟏𝟎
𝒌 𝟎 𝒋 𝟖,𝒃 𝟏𝟎𝒌 𝟎
Similar to Uniform Cost
Just use Heuristic
& Avoids Cost
Heuristic 5
Cost: Node to Node
Heuristic: Node to Goal
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒆 𝟓 𝒋 𝟖,𝒃 𝟏𝟎
𝒈 𝟑
𝒆 𝟓
𝒆 𝟓 𝒊 𝟔,𝒋 𝟖,𝒃 𝟏𝟎
𝒊 𝟔 𝒋 𝟖,𝒃 𝟏𝟎𝒊 𝟔
𝒊 𝟔 𝒌 𝟎,𝒋 𝟖,𝒃 𝟏𝟎
𝒌 𝟎 𝒋 𝟖,𝒃 𝟏𝟎𝒌 𝟎
Similar to Uniform Cost
Just use Heuristic
& Avoids Cost
Heuristic 5 2
Cost: Node to Node
Heuristic: Node to Goal
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒆 𝟓 𝒋 𝟖,𝒃 𝟏𝟎
𝒈 𝟑
𝒆 𝟓
𝒆 𝟓 𝒊 𝟔,𝒋 𝟖,𝒃 𝟏𝟎
𝒊 𝟔 𝒋 𝟖,𝒃 𝟏𝟎𝒊 𝟔
𝒊 𝟔 𝒌 𝟎,𝒋 𝟖,𝒃 𝟏𝟎
𝒌 𝟎 𝒋 𝟖,𝒃 𝟏𝟎𝒌 𝟎
Similar to Uniform Cost
Just use Heuristic
& Avoids Cost
Heuristic 5 2
Cost
Cost: Node to Node
Heuristic: Node to Goal
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒆 𝟓 𝒋 𝟖,𝒃 𝟏𝟎
𝒈 𝟑
𝒆 𝟓
𝒆 𝟓 𝒊 𝟔,𝒋 𝟖,𝒃 𝟏𝟎
𝒊 𝟔 𝒋 𝟖,𝒃 𝟏𝟎𝒊 𝟔
𝒊 𝟔 𝒌 𝟎,𝒋 𝟖,𝒃 𝟏𝟎
𝒌 𝟎 𝒋 𝟖,𝒃 𝟏𝟎𝒌 𝟎
Similar to Uniform Cost
Just use Heuristic
& Avoids Cost
Heuristic 5 2
Cost 3
Cost: Node to Node
Heuristic: Node to Goal
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒆 𝟓 𝒋 𝟖,𝒃 𝟏𝟎
𝒈 𝟑
𝒆 𝟓
𝒆 𝟓 𝒊 𝟔,𝒋 𝟖,𝒃 𝟏𝟎
𝒊 𝟔 𝒋 𝟖,𝒃 𝟏𝟎𝒊 𝟔
𝒊 𝟔 𝒌 𝟎,𝒋 𝟖,𝒃 𝟏𝟎
𝒌 𝟎 𝒋 𝟖,𝒃 𝟏𝟎𝒌 𝟎
Similar to Uniform Cost
Just use Heuristic
& Avoids Cost
Heuristic 5 2
Cost 3 9
Cost: Node to Node
Heuristic: Node to Goal
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒆 𝟓 𝒋 𝟖,𝒃 𝟏𝟎
𝒈 𝟑
𝒆 𝟓
𝒆 𝟓 𝒊 𝟔,𝒋 𝟖,𝒃 𝟏𝟎
𝒊 𝟔 𝒋 𝟖,𝒃 𝟏𝟎𝒊 𝟔
𝒊 𝟔 𝒌 𝟎,𝒋 𝟖,𝒃 𝟏𝟎
𝒌 𝟎 𝒋 𝟖,𝒃 𝟏𝟎𝒌 𝟎
Similar to Uniform Cost
Just use Heuristic
& Avoids Cost
Heuristic 5 2
Cost 3 9
Total
Cost: Node to Node
Heuristic: Node to Goal
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒆 𝟓 𝒋 𝟖,𝒃 𝟏𝟎
𝒈 𝟑
𝒆 𝟓
𝒆 𝟓 𝒊 𝟔,𝒋 𝟖,𝒃 𝟏𝟎
𝒊 𝟔 𝒋 𝟖,𝒃 𝟏𝟎𝒊 𝟔
𝒊 𝟔 𝒌 𝟎,𝒋 𝟖,𝒃 𝟏𝟎
𝒌 𝟎 𝒋 𝟖,𝒃 𝟏𝟎𝒌 𝟎
Similar to Uniform Cost
Just use Heuristic
& Avoids Cost
Heuristic 5 2
Cost 3 9
Total 8
Cost: Node to Node
Heuristic: Node to Goal
Greedy Best-First Search
Goal – Node K
𝒂 𝟏𝟎 ---
Current Children
𝒂 𝟏𝟎 𝒇 𝟕, 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒋 𝟖,𝒃 𝟏𝟎
𝒇 𝟕 𝒈 𝟑,𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒂 𝟏𝟎
𝒇 𝟕
𝒈 𝟑 𝒆 𝟓, 𝒋 𝟖,𝒃 𝟏𝟎
𝒆 𝟓 𝒋 𝟖,𝒃 𝟏𝟎
𝒈 𝟑
𝒆 𝟓
𝒆 𝟓 𝒊 𝟔,𝒋 𝟖,𝒃 𝟏𝟎
𝒊 𝟔 𝒋 𝟖,𝒃 𝟏𝟎𝒊 𝟔
𝒊 𝟔 𝒌 𝟎,𝒋 𝟖,𝒃 𝟏𝟎
𝒌 𝟎 𝒋 𝟖,𝒃 𝟏𝟎𝒌 𝟎
Similar to Uniform Cost
Just use Heuristic
& Avoids Cost
Heuristic 5 2
Cost 3 9
Total 8 11
Cost: Node to Node
Heuristic: Node to Goal
A* Search – Combines Heuristic & Cost
Goal - Bucharest
A* Search – Continue
Goal -Bucharest
Arad
AradArad
AradArad
Arad
Children
Sibiu
AradArad
Arad
Children
Sibiu
Timisoara
AradArad
Arad
Children
Sibiu
Timisoara
Zerind
AradArad
Arad
Children
Sibiu
Timisoara
Zerind
AradArad
Arad
Children
Calculate
Total Cost
Sibiu
Timisoara
Zerind
AradArad
Arad
Children
Calculate
Total Cost
Order
Asc.
Sibiu
Timisoara
Zerind
AradArad
Arad
Children
Calculate
Total Cost
Order
Asc.
Select
Min. Cost
Sibiu
Timisoara
Zerind
Sibiu
Arad
Children
Heuristic
Sibiu
Timisoara
Zerind
Sibiu
Arad
Children
Heuristic Cost
Sibiu
Timisoara
Zerind
Sibiu
+
Arad
Children
Heuristic Cost Total
Sibiu
Timisoara
Zerind
Sibiu
+
Arad
Children
=
Heuristic Cost
253
Total
Sibiu
Timisoara
Zerind
Sibiu
+
Arad
Children
=
Heuristic Cost
253 140
Total
Sibiu
Timisoara
Zerind
Sibiu
+ =
Arad
Children
+
Heuristic Cost
253 140
Total
393+
Sibiu
Timisoara
Zerind
Sibiu
+ =
Arad
Children
=
Heuristic Cost
253 140
Total
393+ =
Sibiu
Timisoara
Zerind
Sibiu
+ =
Arad
Children
Heuristic Cost
253 140
Total
393+ =
Sibiu
Timisoara
Zerind
Sibiu
+ =
Arad
Children
393
Heuristic Cost Total
Sibiu
Timisoara
Zerind
Timisoara
+ =
Arad
Children
393
Heuristic Cost
329
Total
Sibiu
Timisoara
Zerind
Timisoara
+ =
Arad
Children
393
Heuristic Cost
329 118
Total
+
Sibiu
Timisoara
Zerind
Timisoara
+ =
Arad
Children
393
Heuristic Cost
329 118
Total
447+ =
Sibiu
Timisoara
Zerind
Timisoara
+ =
Arad
Children
393
Heuristic Cost
329 118
Total
447+ =
Sibiu
Timisoara
Zerind
Timisoara
+ =
Arad
Children
393
447
Heuristic Cost Total
Sibiu
Timisoara
Zerind
Zerind
+ =
Arad
Children
393
447
Heuristic Cost
374
Total
Sibiu
Timisoara
Zerind
Zerind
+ =
Arad
Children
393
447
Heuristic Cost
374 75
Total
+
Sibiu
Timisoara
Zerind
Zerind
+ =
Arad
Children
393
447
Heuristic Cost
374 75
Total
449+ =
Sibiu
Timisoara
Zerind
Zerind
+ =
Arad
Children
393
447
Heuristic Cost
374 75
Total
449+ =
Sibiu
Timisoara
Zerind
Zerind
+ =
Arad
Children
393
447
449
Current Queue
Sibiu
393
Current Queue
Sibiu
393
Timisoara
447
Current Queue
Sibiu
393
Timisoara
447
Zerind
449
Current Queue
Sibiu
393
Timisoara
447
Zerind
449
Sibiu
393
Sibiu
SibiuSibiu
Arad
SibiuSibiu
Sibiu
Children
Arad
Fagaras
SibiuSibiu
Sibiu
Children
Arad
Fagaras
Orades
SibiuSibiu
Sibiu
Children
Arad
Fagaras
Orades
SibiuSibiu
Sibiu
Children
Ramnicu
Arad
Fagaras
Orades
SibiuSibiu
Sibiu
Children
Calculate
Total Cost
Ramnicu
Arad
Fagaras
Orades
SibiuSibiu
Sibiu
Children
Calculate
Total Cost
Order
Asc.
Ramnicu
Arad
Fagaras
Orades
SibiuSibiu
Sibiu
Children
Calculate
Total Cost
Order
Asc.
Select
Min. Cost
Ramnicu
Arad
Sibiu
Children
Arad
Fagaras
Orades
Ramnicu
Heuristic
Arad
Sibiu
Children
Arad
Fagaras
Orades
Ramnicu
Heuristic Cost
Arad
+
Sibiu
Children
Arad
Fagaras
Orades
Ramnicu
Heuristic Cost Total
Arad
+
Sibiu
Children
Arad
Fagaras
Orades
Ramnicu
=
Heuristic Cost
366
Total
Arad
+
Sibiu
Children
Arad
Fagaras
Orades
Ramnicu
=
Heuristic Cost
366 280
Total
+
Arad
+ =
Sibiu
Children
Arad
Fagaras
Orades
Ramnicu
Heuristic Cost
366 280
Total
646+ =
Arad
+ =
Sibiu
Children
Arad
Fagaras
Orades
Ramnicu
Heuristic Cost
366 280
Total
646+ =
Arad
+ =
Sibiu
Children
Arad
Fagaras
Orades
Ramnicu
646
Heuristic Cost Total
Fagaras
+ =
Sibiu
Children
Arad
Fagaras
Orades
Ramnicu
646
Heuristic Cost
176
Total
Fagaras
+ =
Sibiu
Children
Arad
Fagaras
Orades
Ramnicu
646
Heuristic Cost
176 239
Total
+
Fagaras
+ =
Sibiu
Children
Arad
Fagaras
Orades
Ramnicu
646
Heuristic Cost
176 239
Total
415+ =
Fagaras
+ =
Sibiu
Children
Arad
Fagaras
Orades
Ramnicu
646
Heuristic Cost
176 239
Total
415+ =
Fagaras
+ =
Sibiu
Children
Arad
Fagaras
Orades
Ramnicu
646
415
Heuristic Cost Total
Orades
+ =
Sibiu
Children
Arad
Fagaras
Orades
Ramnicu
646
415
Heuristic Cost
380
Total
Orades
+ =
Sibiu
Children
Arad
Fagaras
Orades
Ramnicu
646
415
Heuristic Cost
380 291
Total
+
Orades
+ =
Sibiu
Children
Arad
Fagaras
Orades
Ramnicu
646
415
Heuristic Cost
380 291
Total
671+ =
Orades
+ =
Sibiu
Children
Arad
Fagaras
Orades
Ramnicu
646
415
Heuristic Cost
380 291
Total
671+ =
Orades
+ =
Sibiu
Children
Arad
Fagaras
Orades
Ramnicu
646
415
671
Heuristic Cost Total
Ramnicu
+ =
Sibiu
Children
Arad
Fagaras
Orades
Ramnicu
646
415
671
Heuristic Cost
193
Total+ =
Sibiu
Children
Arad
Fagaras
Orades
Ramnicu
646
415
671
Ramnicu
Heuristic Cost
193 220
Total
+
+ =
Sibiu
Children
Arad
Fagaras
Orades
Ramnicu
646
415
671
Ramnicu
Heuristic Cost
193 220
Total
413+ =
+ =
Sibiu
Children
Arad
Fagaras
Orades
Ramnicu
646
415
671
Ramnicu
Heuristic Cost
193 220
Total
413+ =
+ =
Sibiu
Children
Arad
Fagaras
Orades
Ramnicu
646
415
671
413
Ramnicu
Current Queue
Timisoara
447
Zerind
449
Current Queue
Arad
646
Timisoara
447
Zerind
449
Orades
671
Ramnicu
413
Fagaras
415
Current Queue
Arad
646
Timisoara
447
Zerind
449
Orades
671
Ramnicu
413
Fagaras
415
Current Queue
Arad
646
Timisoara
447
Zerind
449
Orades
671
Ramnicu
413
Fagaras
415
Ramnicu
413
Ramnicu
RamnicuRamnicu
Craiova
RamnicuRamnicu
Ramnicu
Children
Craiova
Pitesti
RamnicuRamnicu
Ramnicu
Children
Craiova
Pitesti
Sibiu
RamnicuRamnicu
Ramnicu
Children
Craiova
Pitesti
Sibiu
RamnicuRamnicu
Ramnicu
Children
Calculate
Total Cost
Craiova
Pitesti
Sibiu
RamnicuRamnicu
Ramnicu
Children
Calculate
Total Cost
Order
Asc.
Craiova
Pitesti
Sibiu
RamnicuRamnicu
Ramnicu
Children
Calculate
Total Cost
Order
Asc.
Select
Min. Cost
Craiova
Ramnicu
Children
Craiova
Pitesti
Sibiu
Heuristic
Craiova
Ramnicu
Children
Craiova
Pitesti
Sibiu
Heuristic Cost
Craiova
+
Ramnicu
Children
Craiova
Pitesti
Sibiu
Heuristic Cost Total
Craiova
+
Ramnicu
Children
Craiova
Pitesti
Sibiu
=
Heuristic Cost
160
Total
Craiova
+
Ramnicu
Children
Craiova
Pitesti
Sibiu
=
Heuristic Cost
160 366
Total
+
Craiova
+ =
Ramnicu
Children
Craiova
Pitesti
Sibiu
Heuristic Cost
160 366
Total
526+ =
Craiova
+ =
Ramnicu
Children
Craiova
Pitesti
Sibiu
Heuristic Cost
160 366
Total
526+ =
Craiova
+ =
Ramnicu
Children
526Craiova
Pitesti
Sibiu
Heuristic Cost Total
Pitesti
+ =
Ramnicu
Children
526Craiova
Pitesti
Sibiu
Heuristic Cost
100
Total
Pitesti
+ =
Ramnicu
Children
526Craiova
Pitesti
Sibiu
Heuristic Cost
100 317
Total
+
Pitesti
+ =
Ramnicu
Children
526Craiova
Pitesti
Sibiu
Heuristic Cost
100 317
Total
417+ =
Pitesti
+ =
Ramnicu
Children
526Craiova
Pitesti
Sibiu
Heuristic Cost
100 317
Total
417+ =
Pitesti
+ =
Ramnicu
Children
526Craiova
Pitesti
Sibiu
417
Heuristic Cost Total
Sibiu
+ =
Ramnicu
Children
526Craiova
Pitesti
Sibiu
417
Heuristic Cost
253
Total
Sibiu
+ =
Ramnicu
Children
526Craiova
Pitesti
Sibiu
417
Heuristic Cost
253 300
Total
+
Sibiu
+ =
Ramnicu
Children
526Craiova
Pitesti
Sibiu
417
Heuristic Cost
253 300
Total
553+ =
Sibiu
+ =
Ramnicu
Children
526Craiova
Pitesti
Sibiu
417
Heuristic Cost
253 300
Total
553+ =
Sibiu
+ =
Ramnicu
Children
526Craiova
Pitesti
Sibiu
417
553
Current Queue
Arad
646
Timisoara
447
Zerind
449
Orades
671
Fagaras
415
Current Queue
Arad
646
Timisoara
447
Zerind
449
Orades
671
Fagaras
415
Pitesti
417
Craiova
526
Sibiu
553
Current Queue
Arad
646
Timisoara
447
Zerind
449
Orades
671
Fagaras
415
Pitesti
417
Craiova
526
Sibiu
553
Current Queue
Arad
646
Timisoara
447
Zerind
449
Orades
671
Fagaras
415
Pitesti
417
Craiova
526
Sibiu
553
Fagaras
415
Fagaras
FagarasFagaras
Sibiu
FagarasFagaras
Fagaras
Children
Sibiu
Bucharest
FagarasFagaras
Fagaras
Children
Sibiu
Bucharest
FagarasFagaras
Fagaras
Children
Calculate
Total Cost
Sibiu
Bucharest
FagarasFagaras
Fagaras
Children
Calculate
Total Cost
Order
Asc.
Sibiu
Bucharest
FagarasFagaras
Fagaras
Children
Calculate
Total Cost
Order
Asc.
Select
Min. Cost
Heuristic Cost Total
Sibiu
+ =
Sibiu
Bucharest
Fagaras
Children
Heuristic Cost
253
Total
Sibiu
+ =
Sibiu
Bucharest
Fagaras
Children
Heuristic Cost
253 338
Total
+
Sibiu
+ =
Sibiu
Bucharest
Fagaras
Children
Heuristic Cost
253 338
Total
591+ =
Sibiu
+ =
Sibiu
Bucharest
Fagaras
Children
Heuristic Cost
253 338
Total
591+ =
Sibiu
+ =
591Sibiu
Bucharest
Fagaras
Children
Heuristic Cost Total
Bucharest
+ =
591Sibiu
Bucharest
Fagaras
Children
Heuristic Cost
0
Total
Bucharest
+ =
591Sibiu
Bucharest
Fagaras
Children
Heuristic Cost
0 450
Total
+
Bucharest
+ =
591Sibiu
Bucharest
Fagaras
Children
Heuristic Cost
0 450
Total
450+ =
Bucharest
+ =
591Sibiu
Bucharest
Fagaras
Children
Heuristic Cost
0 450
Total
450+ =
Bucharest
+ =
591
450
Sibiu
Bucharest
Fagaras
Children
Current Queue
Arad
646
Timisoara
447
Zerind
449
Orades
671
Pitesti
417
Craiova
526
Sibiu
553
Current Queue
Arad
646
Timisoara
447
Zerind
449
Orades
671
Pitesti
417
Craiova
526
Sibiu
591
Bucharest
450
Sibiu
553
Current Queue
Arad
646
Timisoara
447
Zerind
449
Orades
671
Pitesti
417
Craiova
526
Sibiu
591
Bucharest
450
Sibiu
553
Current Queue
Arad
646
Timisoara
447
Zerind
449
Orades
671
Pitesti
417
Craiova
526
Sibiu
591
Pitesti
417
Bucharest
450
Sibiu
553
Pitesti
PitestiPetisti
Bucharest
PitestiPetisti
Petisti
Children
Bucharest
Craiova
PitestiPetisti
Petisti
Children
Bucharest
Craiova
Ramnicu
PitestiPetisti
Petisti
Children
Bucharest
Craiova
Ramnicu
PitestiPetisti
Petisti
Children
Calculate
Total Cost
Bucharest
Craiova
Ramnicu
PitestiPetisti
Petisti
Children
Calculate
Total Cost
Order
Asc.
Bucharest
Craiova
Ramnicu
PitestiPetisti
Petisti
Children
Calculate
Total Cost
Order
Asc.
Select
Min. Cost
Heuristic Cost Total
Bucharest
+ =
Ramnicu
Children
Bucharest
Craiova
Ramnicu
Heuristic Cost
0
Total
Bucharest
+ =
Ramnicu
Children
Bucharest
Craiova
Ramnicu
Heuristic Cost
0 418
Total
+
Bucharest
+ =
Ramnicu
Children
Bucharest
Craiova
Ramnicu
Heuristic Cost
0 418
Total
418+ =
Bucharest
+ =
Ramnicu
Children
Bucharest
Craiova
Ramnicu
Heuristic Cost
0 418
Total
418+ =
Bucharest
+ =
Ramnicu
Children
418Bucharest
Craiova
Ramnicu
Heuristic Cost Total
Craiova
+ =
Ramnicu
Children
418Bucharest
Craiova
Ramnicu
Heuristic Cost
160
Total
Craiova
+ =
Ramnicu
Children
418Bucharest
Craiova
Ramnicu
Heuristic Cost
160 455
Total
+
Craiova
+ =
Ramnicu
Children
418Bucharest
Craiova
Ramnicu
Heuristic Cost
160 455
Total
615+ =
Craiova
+ =
Ramnicu
Children
418Bucharest
Craiova
Ramnicu
Heuristic Cost
160 455
Total
615+ =
Craiova
+ =
Ramnicu
Children
418
615
Bucharest
Craiova
Ramnicu
Heuristic Cost Total
Ramnicu
+ =
Ramnicu
Children
418
615
Bucharest
Craiova
Ramnicu
Heuristic Cost
193
Total
Ramnicu
+ =
Ramnicu
Children
418
615
Bucharest
Craiova
Ramnicu
Heuristic Cost
193 414
Total
+
Ramnicu
+ =
Ramnicu
Children
418
615
Bucharest
Craiova
Ramnicu
Heuristic Cost
193 414
Total
607+ =
Ramnicu
+ =
Ramnicu
Children
418
615
Bucharest
Craiova
Ramnicu
Heuristic Cost
193 414
Total
607+ =
Ramnicu
+ =
Ramnicu
Children
418
615
607
Bucharest
Craiova
Ramnicu
Current Queue
Arad
646
Timisoara
447
Zerind
449
Orades
671
Craiova
615
Sibiu
591
Bucharest
450
Sibiu
553
Bucharest
418
Craiova
526
Ramnicu
607
Current Queue
Arad
646
Timisoara
447
Zerind
449
Orades
671
Craiova
615
Sibiu
591
Bucharest
450
Sibiu
553
Bucharest
418
Craiova
526
Ramnicu
607
Current Queue
Arad
646
Timisoara
447
Zerind
449
Orades
671
Craiova
615
Sibiu
591
Bucharest
450
Sibiu
553
Bucharest
418
Craiova
526
Ramnicu
607
Bucharest
418
Bucharest
BucharestBucharest
BucharestBucharest
GOAL
Path to Goal

More Related Content

What's hot

Show ant-colony-optimization-for-solving-the-traveling-salesman-problem
Show ant-colony-optimization-for-solving-the-traveling-salesman-problemShow ant-colony-optimization-for-solving-the-traveling-salesman-problem
Show ant-colony-optimization-for-solving-the-traveling-salesman-problemjayatra
 
Breadth first search and depth first search
Breadth first search and  depth first searchBreadth first search and  depth first search
Breadth first search and depth first searchHossain Md Shakhawat
 
Artificial Intelligence Game Search by Examples
Artificial Intelligence Game Search by ExamplesArtificial Intelligence Game Search by Examples
Artificial Intelligence Game Search by ExamplesAhmed Gad
 
Informed search (heuristics)
Informed search (heuristics)Informed search (heuristics)
Informed search (heuristics)Bablu Shofi
 
Windows to viewport transformation
Windows to viewport transformationWindows to viewport transformation
Windows to viewport transformationPrashant Singh
 
3.8 quick sort
3.8 quick sort3.8 quick sort
3.8 quick sortKrish_ver2
 
Informed and Uninformed search Strategies
Informed and Uninformed search StrategiesInformed and Uninformed search Strategies
Informed and Uninformed search StrategiesAmey Kerkar
 
State space search and Problem Solving techniques
State space search and Problem Solving techniquesState space search and Problem Solving techniques
State space search and Problem Solving techniquesKirti Verma
 
Local beam search example
Local beam search exampleLocal beam search example
Local beam search exampleMegha Sharma
 
Intro to AI STRIPS Planning & Applications in Video-games Lecture2-Part2
Intro to AI STRIPS Planning & Applications in Video-games Lecture2-Part2Intro to AI STRIPS Planning & Applications in Video-games Lecture2-Part2
Intro to AI STRIPS Planning & Applications in Video-games Lecture2-Part2Stavros Vassos
 
module5_backtrackingnbranchnbound_2022.pdf
module5_backtrackingnbranchnbound_2022.pdfmodule5_backtrackingnbranchnbound_2022.pdf
module5_backtrackingnbranchnbound_2022.pdfShiwani Gupta
 

What's hot (20)

Q-learning
Q-learningQ-learning
Q-learning
 
Show ant-colony-optimization-for-solving-the-traveling-salesman-problem
Show ant-colony-optimization-for-solving-the-traveling-salesman-problemShow ant-colony-optimization-for-solving-the-traveling-salesman-problem
Show ant-colony-optimization-for-solving-the-traveling-salesman-problem
 
Breadth first search and depth first search
Breadth first search and  depth first searchBreadth first search and  depth first search
Breadth first search and depth first search
 
Artificial Intelligence Game Search by Examples
Artificial Intelligence Game Search by ExamplesArtificial Intelligence Game Search by Examples
Artificial Intelligence Game Search by Examples
 
Informed search (heuristics)
Informed search (heuristics)Informed search (heuristics)
Informed search (heuristics)
 
Windows to viewport transformation
Windows to viewport transformationWindows to viewport transformation
Windows to viewport transformation
 
Data fusion with kalman filtering
Data fusion with kalman filteringData fusion with kalman filtering
Data fusion with kalman filtering
 
Dfs
DfsDfs
Dfs
 
Red Black Tree Insertion & Deletion
Red Black Tree Insertion & DeletionRed Black Tree Insertion & Deletion
Red Black Tree Insertion & Deletion
 
AI Lecture 3 (solving problems by searching)
AI Lecture 3 (solving problems by searching)AI Lecture 3 (solving problems by searching)
AI Lecture 3 (solving problems by searching)
 
3.8 quick sort
3.8 quick sort3.8 quick sort
3.8 quick sort
 
Informed and Uninformed search Strategies
Informed and Uninformed search StrategiesInformed and Uninformed search Strategies
Informed and Uninformed search Strategies
 
Spline representations
Spline representationsSpline representations
Spline representations
 
Intelligent agents
Intelligent agentsIntelligent agents
Intelligent agents
 
State space search and Problem Solving techniques
State space search and Problem Solving techniquesState space search and Problem Solving techniques
State space search and Problem Solving techniques
 
A Star Search
A Star SearchA Star Search
A Star Search
 
Local beam search example
Local beam search exampleLocal beam search example
Local beam search example
 
Intro to AI STRIPS Planning & Applications in Video-games Lecture2-Part2
Intro to AI STRIPS Planning & Applications in Video-games Lecture2-Part2Intro to AI STRIPS Planning & Applications in Video-games Lecture2-Part2
Intro to AI STRIPS Planning & Applications in Video-games Lecture2-Part2
 
module5_backtrackingnbranchnbound_2022.pdf
module5_backtrackingnbranchnbound_2022.pdfmodule5_backtrackingnbranchnbound_2022.pdf
module5_backtrackingnbranchnbound_2022.pdf
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 

More from Ahmed Gad

ICEIT'20 Cython for Speeding-up Genetic Algorithm
ICEIT'20 Cython for Speeding-up Genetic AlgorithmICEIT'20 Cython for Speeding-up Genetic Algorithm
ICEIT'20 Cython for Speeding-up Genetic AlgorithmAhmed Gad
 
NumPyCNNAndroid: A Library for Straightforward Implementation of Convolutiona...
NumPyCNNAndroid: A Library for Straightforward Implementation of Convolutiona...NumPyCNNAndroid: A Library for Straightforward Implementation of Convolutiona...
NumPyCNNAndroid: A Library for Straightforward Implementation of Convolutiona...Ahmed Gad
 
Python for Computer Vision - Revision 2nd Edition
Python for Computer Vision - Revision 2nd EditionPython for Computer Vision - Revision 2nd Edition
Python for Computer Vision - Revision 2nd EditionAhmed Gad
 
Multi-Objective Optimization using Non-Dominated Sorting Genetic Algorithm wi...
Multi-Objective Optimization using Non-Dominated Sorting Genetic Algorithm wi...Multi-Objective Optimization using Non-Dominated Sorting Genetic Algorithm wi...
Multi-Objective Optimization using Non-Dominated Sorting Genetic Algorithm wi...Ahmed Gad
 
M.Sc. Thesis - Automatic People Counting in Crowded Scenes
M.Sc. Thesis - Automatic People Counting in Crowded ScenesM.Sc. Thesis - Automatic People Counting in Crowded Scenes
M.Sc. Thesis - Automatic People Counting in Crowded ScenesAhmed Gad
 
Derivation of Convolutional Neural Network from Fully Connected Network Step-...
Derivation of Convolutional Neural Network from Fully Connected Network Step-...Derivation of Convolutional Neural Network from Fully Connected Network Step-...
Derivation of Convolutional Neural Network from Fully Connected Network Step-...Ahmed Gad
 
Introduction to Optimization with Genetic Algorithm (GA)
Introduction to Optimization with Genetic Algorithm (GA)Introduction to Optimization with Genetic Algorithm (GA)
Introduction to Optimization with Genetic Algorithm (GA)Ahmed Gad
 
Derivation of Convolutional Neural Network (ConvNet) from Fully Connected Net...
Derivation of Convolutional Neural Network (ConvNet) from Fully Connected Net...Derivation of Convolutional Neural Network (ConvNet) from Fully Connected Net...
Derivation of Convolutional Neural Network (ConvNet) from Fully Connected Net...Ahmed Gad
 
Avoid Overfitting with Regularization
Avoid Overfitting with RegularizationAvoid Overfitting with Regularization
Avoid Overfitting with RegularizationAhmed Gad
 
Genetic Algorithm (GA) Optimization - Step-by-Step Example
Genetic Algorithm (GA) Optimization - Step-by-Step ExampleGenetic Algorithm (GA) Optimization - Step-by-Step Example
Genetic Algorithm (GA) Optimization - Step-by-Step ExampleAhmed Gad
 
ICCES 2017 - Crowd Density Estimation Method using Regression Analysis
ICCES 2017 - Crowd Density Estimation Method using Regression AnalysisICCES 2017 - Crowd Density Estimation Method using Regression Analysis
ICCES 2017 - Crowd Density Estimation Method using Regression AnalysisAhmed Gad
 
Backpropagation: Understanding How to Update ANNs Weights Step-by-Step
Backpropagation: Understanding How to Update ANNs Weights Step-by-StepBackpropagation: Understanding How to Update ANNs Weights Step-by-Step
Backpropagation: Understanding How to Update ANNs Weights Step-by-StepAhmed Gad
 
Computer Vision: Correlation, Convolution, and Gradient
Computer Vision: Correlation, Convolution, and GradientComputer Vision: Correlation, Convolution, and Gradient
Computer Vision: Correlation, Convolution, and GradientAhmed Gad
 
Python for Computer Vision - Revision
Python for Computer Vision - RevisionPython for Computer Vision - Revision
Python for Computer Vision - RevisionAhmed Gad
 
Anime Studio Pro 10 Tutorial as Part of Multimedia Course
Anime Studio Pro 10 Tutorial as Part of Multimedia CourseAnime Studio Pro 10 Tutorial as Part of Multimedia Course
Anime Studio Pro 10 Tutorial as Part of Multimedia CourseAhmed Gad
 
Brief Introduction to Deep Learning + Solving XOR using ANNs
Brief Introduction to Deep Learning + Solving XOR using ANNsBrief Introduction to Deep Learning + Solving XOR using ANNs
Brief Introduction to Deep Learning + Solving XOR using ANNsAhmed Gad
 
Operations in Digital Image Processing + Convolution by Example
Operations in Digital Image Processing + Convolution by ExampleOperations in Digital Image Processing + Convolution by Example
Operations in Digital Image Processing + Convolution by ExampleAhmed Gad
 
MATLAB Code + Description : Real-Time Object Motion Detection and Tracking
MATLAB Code + Description : Real-Time Object Motion Detection and TrackingMATLAB Code + Description : Real-Time Object Motion Detection and Tracking
MATLAB Code + Description : Real-Time Object Motion Detection and TrackingAhmed Gad
 
MATLAB Code + Description : Very Simple Automatic English Optical Character R...
MATLAB Code + Description : Very Simple Automatic English Optical Character R...MATLAB Code + Description : Very Simple Automatic English Optical Character R...
MATLAB Code + Description : Very Simple Automatic English Optical Character R...Ahmed Gad
 
Graduation Project - Face Login : A Robust Face Identification System for Sec...
Graduation Project - Face Login : A Robust Face Identification System for Sec...Graduation Project - Face Login : A Robust Face Identification System for Sec...
Graduation Project - Face Login : A Robust Face Identification System for Sec...Ahmed Gad
 

More from Ahmed Gad (20)

ICEIT'20 Cython for Speeding-up Genetic Algorithm
ICEIT'20 Cython for Speeding-up Genetic AlgorithmICEIT'20 Cython for Speeding-up Genetic Algorithm
ICEIT'20 Cython for Speeding-up Genetic Algorithm
 
NumPyCNNAndroid: A Library for Straightforward Implementation of Convolutiona...
NumPyCNNAndroid: A Library for Straightforward Implementation of Convolutiona...NumPyCNNAndroid: A Library for Straightforward Implementation of Convolutiona...
NumPyCNNAndroid: A Library for Straightforward Implementation of Convolutiona...
 
Python for Computer Vision - Revision 2nd Edition
Python for Computer Vision - Revision 2nd EditionPython for Computer Vision - Revision 2nd Edition
Python for Computer Vision - Revision 2nd Edition
 
Multi-Objective Optimization using Non-Dominated Sorting Genetic Algorithm wi...
Multi-Objective Optimization using Non-Dominated Sorting Genetic Algorithm wi...Multi-Objective Optimization using Non-Dominated Sorting Genetic Algorithm wi...
Multi-Objective Optimization using Non-Dominated Sorting Genetic Algorithm wi...
 
M.Sc. Thesis - Automatic People Counting in Crowded Scenes
M.Sc. Thesis - Automatic People Counting in Crowded ScenesM.Sc. Thesis - Automatic People Counting in Crowded Scenes
M.Sc. Thesis - Automatic People Counting in Crowded Scenes
 
Derivation of Convolutional Neural Network from Fully Connected Network Step-...
Derivation of Convolutional Neural Network from Fully Connected Network Step-...Derivation of Convolutional Neural Network from Fully Connected Network Step-...
Derivation of Convolutional Neural Network from Fully Connected Network Step-...
 
Introduction to Optimization with Genetic Algorithm (GA)
Introduction to Optimization with Genetic Algorithm (GA)Introduction to Optimization with Genetic Algorithm (GA)
Introduction to Optimization with Genetic Algorithm (GA)
 
Derivation of Convolutional Neural Network (ConvNet) from Fully Connected Net...
Derivation of Convolutional Neural Network (ConvNet) from Fully Connected Net...Derivation of Convolutional Neural Network (ConvNet) from Fully Connected Net...
Derivation of Convolutional Neural Network (ConvNet) from Fully Connected Net...
 
Avoid Overfitting with Regularization
Avoid Overfitting with RegularizationAvoid Overfitting with Regularization
Avoid Overfitting with Regularization
 
Genetic Algorithm (GA) Optimization - Step-by-Step Example
Genetic Algorithm (GA) Optimization - Step-by-Step ExampleGenetic Algorithm (GA) Optimization - Step-by-Step Example
Genetic Algorithm (GA) Optimization - Step-by-Step Example
 
ICCES 2017 - Crowd Density Estimation Method using Regression Analysis
ICCES 2017 - Crowd Density Estimation Method using Regression AnalysisICCES 2017 - Crowd Density Estimation Method using Regression Analysis
ICCES 2017 - Crowd Density Estimation Method using Regression Analysis
 
Backpropagation: Understanding How to Update ANNs Weights Step-by-Step
Backpropagation: Understanding How to Update ANNs Weights Step-by-StepBackpropagation: Understanding How to Update ANNs Weights Step-by-Step
Backpropagation: Understanding How to Update ANNs Weights Step-by-Step
 
Computer Vision: Correlation, Convolution, and Gradient
Computer Vision: Correlation, Convolution, and GradientComputer Vision: Correlation, Convolution, and Gradient
Computer Vision: Correlation, Convolution, and Gradient
 
Python for Computer Vision - Revision
Python for Computer Vision - RevisionPython for Computer Vision - Revision
Python for Computer Vision - Revision
 
Anime Studio Pro 10 Tutorial as Part of Multimedia Course
Anime Studio Pro 10 Tutorial as Part of Multimedia CourseAnime Studio Pro 10 Tutorial as Part of Multimedia Course
Anime Studio Pro 10 Tutorial as Part of Multimedia Course
 
Brief Introduction to Deep Learning + Solving XOR using ANNs
Brief Introduction to Deep Learning + Solving XOR using ANNsBrief Introduction to Deep Learning + Solving XOR using ANNs
Brief Introduction to Deep Learning + Solving XOR using ANNs
 
Operations in Digital Image Processing + Convolution by Example
Operations in Digital Image Processing + Convolution by ExampleOperations in Digital Image Processing + Convolution by Example
Operations in Digital Image Processing + Convolution by Example
 
MATLAB Code + Description : Real-Time Object Motion Detection and Tracking
MATLAB Code + Description : Real-Time Object Motion Detection and TrackingMATLAB Code + Description : Real-Time Object Motion Detection and Tracking
MATLAB Code + Description : Real-Time Object Motion Detection and Tracking
 
MATLAB Code + Description : Very Simple Automatic English Optical Character R...
MATLAB Code + Description : Very Simple Automatic English Optical Character R...MATLAB Code + Description : Very Simple Automatic English Optical Character R...
MATLAB Code + Description : Very Simple Automatic English Optical Character R...
 
Graduation Project - Face Login : A Robust Face Identification System for Sec...
Graduation Project - Face Login : A Robust Face Identification System for Sec...Graduation Project - Face Login : A Robust Face Identification System for Sec...
Graduation Project - Face Login : A Robust Face Identification System for Sec...
 

Recently uploaded

Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research DiscourseAnita GoswamiGiri
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleCeline George
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptxmary850239
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxDhatriParmar
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1GloryAnnCastre1
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWQuiz Club NITW
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptxmary850239
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdfMr Bounab Samir
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 

Recently uploaded (20)

Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research Discourse
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP Module
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITW
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 

AI Informed Search Strategies by Examples