8 Puzzle Problem using Manhattan Distance in Artificial Intelligence

  Рет қаралды 64,272

ThinkX Academy

ThinkX Academy

Күн бұрын

The 8-puzzle problem is a puzzle invented and popularized by Noyes Palmer Chapman in the 1870s. It is played on a 3-by-3 grid with 8 square blocks labeled 1 through 8 and a blank square. Your goal is to rearrange the blocks so that they are in order. You are permitted to slide blocks horizontally or vertically into the blank square. We can use any one of the following Heuristic Functions: Hamming priority function: The number of blocks in the wrong position, plus the number of moves made so far to get to the state. Intuitively, a state with a small number of blocks in the wrong position is close to the goal state, and we prefer a state that has been reached using a small number of moves. Manhattan priority function: The sum of the distances (sum of the vertical and horizontal distance) from the blocks to their goal positions, plus the number of moves made so far to get to the state. A critical optimization: To prevent unnecessary exploration of states, when considering the neighbors of a state, don't explore the neighbor if its board position is the same as the previous state.🔗Important Playlists:
Artificial Intelligence: www.youtube.co... Learning: • Machine Learning
🌐Join our community:
Android App(Notes+Videos): play.google.co... Facebook: / thinkxacademy Twitter: / thinkxacademy Instagram: www.instagram.... #artificialintelligence #heuristics

Пікірлер: 58
Generate and Test in Artificial Intelligence
7:58
ThinkX Academy
Рет қаралды 8 М.
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
Steepest Ascent Hill Climbing Algorithm in Artificial Intelligence
14:07
Euclidean Distance and Manhattan Distance
8:39
Krish Naik
Рет қаралды 288 М.
Eight Puzzle Problem in Artificial Intelligence
22:11
Cse Girl
Рет қаралды 76 М.
AI in Schools: Cheater or Tutor? | Paul Matthews | TEDxHobart
17:46
A* Search
12:32
John Levine
Рет қаралды 448 М.
Solve the 8-puzzle problem using Manhattan distance
9:28
Ahmed Hashim - احمد هاشم
Рет қаралды 1,5 М.
Solving 8 puzzle with A* search
5:09
Jinyue Han
Рет қаралды 71 М.
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН