Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You must prepare a report that includes a definition of the game. You must give an example execution for each algorithm, provide the generated tree

You must prepare a report that includes a definition of the game. You must give an example execution for each algorithm, provide the generated tree (all states and costs must be given) that is generated, show the contents of fringe in each step.

image text in transcribed

3x3 Bone Tile 2 2 Tiki 3 You will implement a 3x3 board game. The aim is reaching to the goal state where Tile #1, #2 and #3 are located on the board. Rules of Game: 1. The initial and goal states will be given by user 2. The tiles can be moved up, down, right, or left. 3. The game will begin by the move of Tile #1 (if required) and go on with the moves of other tiles in order. For example: 1st step: move Tile #1 2nd step: move Tile #2 3th step: move Tile #3 4th step: move Tile #1 5th step: move Tile #2 6th step: move Tile #3 Tile 3 4. Distance(cost) between two neighboring states will be measure based on the move costs as given below Tile #1: right or left move cost =2 up of down move cost =1 Tile #2: right or left move cost =1 up of down move cost =2 Tile #3: right or left move cost =3 up of down move cost =4 5.User will choose one of the searching strategies: uniform cost and A* search (use Manhattan distance as heuristics). 6. The expansion will go on till 20th expanded node. The program will print out each expanded state and compare it with given goal state. 7. You are free to use any programming language for implementation

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transact SQL Cookbook Help For Database Programmers

Authors: Ales Spetic, Jonathan Gennick

1st Edition

1565927567, 978-1565927568

More Books

Students also viewed these Databases questions