The n-puzzle is a known sliding puzzle that consists of a grid of numbered squares with...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
The n-puzzle is a known sliding puzzle that consists of a grid of numbered squares with one square missing (the empty square), and the labels on the squares in a (pseudo-) random order. The goal of the puzzle is to reorder the squares by only making moves which slide squares into the empty space, in turn revealing another empty space in the position of the moved piece. Commonly used heuristics for this problem include counting the number of misplaced tiles and finding the sum of the Manhattan distances between each block and its position in the goal configuration. a) Are the above mentioned heuristics admissible? If they are, what is the effect they have in A*? b) Can you devise (or find) any other heuristic for n-puzzle? What would be the value of the heuristic function given the above state as an example? c) Give the following initial state, show how A* will expand the tree in order to reach the goal: 2 3 15 6 478 The n-puzzle is a known sliding puzzle that consists of a grid of numbered squares with one square missing (the empty square), and the labels on the squares in a (pseudo-) random order. The goal of the puzzle is to reorder the squares by only making moves which slide squares into the empty space, in turn revealing another empty space in the position of the moved piece. Commonly used heuristics for this problem include counting the number of misplaced tiles and finding the sum of the Manhattan distances between each block and its position in the goal configuration. a) Are the above mentioned heuristics admissible? If they are, what is the effect they have in A*? b) Can you devise (or find) any other heuristic for n-puzzle? What would be the value of the heuristic function given the above state as an example? c) Give the following initial state, show how A* will expand the tree in order to reach the goal: 2 3 15 6 478
Expert Answer:
Answer rating: 100% (QA)
A Algorithm A is a computer algorithm that is widely used in pathfinding and graph traversal the process of plotting an efficiently traversable path b... View the full answer
Posted Date:
Students also viewed these accounting questions
-
Block C moves downward with a constant velocity of 2 ft/s. Determine(a) The velocity of block A,(b) The velocity of blockD. B E D
-
A 1.6-kg tube AB can slide freely on rod DE which in turn can rotate freely in a horizontal plane. Initially the assembly is rotating with an angular velocity = 5 rad/s and the tube is held in...
-
Consider a relation s with one attribute A. Suppose you have to insert the following A = {89, 88, 90, 107, 86, 53, 52, 87, 34, 17, 35, 16} into the relation s. Construct a B+-tree on the attribute A...
-
List the key principles of the six Sigma philosophy. How does it differ from TQM?
-
Suppose that CSP-1 is used for a manufacturing process where it is desired to maintain an AOQL of 1.90%. Specify two CSP-1 plans that would meet this AOQL target.
-
Who are the users of managerial accounting information?
-
A used car dealer sold an automobile to a customer (Robert) on an installment basis. The installment sales contract calls for Robert to make monthly payments of principal and interest. The contract...
-
In October 2013, Pedraza Corp.s production was 53,600 equivalent units for direct material, 48,800 equivalent units for direct labor, and 42,000 equivalent units for overhead. During October, direct...
-
You are planning a 30-day vacation in Malaysia in one year's time. The present charge for a luxury suite plus meals is RM760.00 per day and the RM is presently trading at RM 3.8000/$. Hence the $...
-
Pats Pizzeria produces three types of deli style pizzas: Thin Crust, Deep Dish, and Stuffed Crust. Pats anticipated sales mix is 4:5:6 Thin:Deep:Stuffed. Current sales are 1,500 bundles per year....
-
Considering the COVID-19 pandemic, Natural Candles Ltd., sees this as an opportunity to capitalize on creating a new product, Natural Hand, and Surface Sanitizers. As one of the Marketing Officers on...
-
How does a use case relate to a sequence diagram? A communication diagram?
-
Give two examples of aggregation, generalization, and association relationships. How is each type of association depicted on a class diagram?
-
You are trying to decide between two mobile phone carriers. Carrier A requires you to pay $180 for the phone and monthly charges of $64 for 24 months. Carrier B wants you to pay $85 for the phone and...
-
How is behavioral modeling related to structural modeling?
-
Why is iteration important in creating use cases?
-
A cause of action is a: _ _ _ _ _ _ _ _ _ _ Question 5 5 options: A ) ) A reason for a breach of contract B ) ) A court s decision on a case C ) ) A recognized reason to sue D ) ) A baseless lawsuit
-
You are standing at x = 9.0 km and your assistant is standing at x = 3.0 km. Lightning bolt 1 strikes at x = 0 km and lightning bolt 2 strikes at x = 12.0 km. You see the flash from bolt 2 at t = 10...
-
How does fluid move from the circulatory system into a nephron?
-
How does antidiuretic hormone affect how concentrated urine becomes?
-
What happens to the filtrate in the proximal tubule?
Study smarter with the SolutionInn App