8 Puzzle Problem using Manhattan Distance in Artificial Intelligence

Описание к видео 8 Puzzle Problem using Manhattan Distance in Artificial Intelligence

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: https://www.youtube.com/playlist?list... Learning:    • Machine Learning  

🌐Join our community:
Android App(Notes+Videos): https://play.google.com/store/apps/de... Facebook:   / thinkxacademy   Twitter:   / thinkxacademy   Instagram: https://www.instagram.com/thinkxacade... #artificialintelligence #heuristics

Комментарии

Информация по комментариям в разработке