Recall that we came up with two different heuristics for the 8-puzzle by relaxing problem constraints....
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Recall that we came up with two different heuristics for the 8-puzzle by relaxing problem constraints. In an 8-puzzle, the set of valid actions are described by the following statement: A tile can move from square A to square B if A is adjacent to B and B is blank. We can generate three relaxed problems (leading to three admissible heuristic functions) by removing one or both of the above conditions: . A tile can move from square A to square B if A is adjacent to B • A tile can move from square A to square B if B is blank . A tile can move from square A to square B Recall that the first relaxation gives us the sum-of-Manhattan-distances heuristic, and the third relaxation gives us the number-of-misplaced-tiles heuristic. The second relaxation leads to a relaxed problem, whose (optimal) solution is known as Gaschnig's heuristic (Gaschnig, 1979). (a) Explain why Gaschnig's heuristic is at least as accurate as the number-of-misplaced-tiles heuristic. Hint: Observe that since both are admissible heuristics, it is equivalent to showing that: 0 ≤ Number of misplaced tiles Gaschnig's heuristic <h* In the above, h* is the true cost-to-go function. In particular, explain why the number of misplaced tiles is always an underestimate of Gaschnig's heuristic. (b) For Gaschnig's heuristic and the sum-of-Manhattan-distances heuristic, show that neither is strictly better than the other. To show this, find an 8-puzzle instance where the sum-of-Manhattan-distances heuristic is more accurate than Gaschnig's heuristic, and find an 8-puzzle instance where the opposite is true. Hint: The latter case may be harder to find. Consider an instance that is very close to the goal state. (c) Describe a method to calculate Gaschnig's heuristic efficiently. You do not have to prove its correctness, but you should convince yourself that your method is correct. Recall that we came up with two different heuristics for the 8-puzzle by relaxing problem constraints. In an 8-puzzle, the set of valid actions are described by the following statement: A tile can move from square A to square B if A is adjacent to B and B is blank. We can generate three relaxed problems (leading to three admissible heuristic functions) by removing one or both of the above conditions: . A tile can move from square A to square B if A is adjacent to B • A tile can move from square A to square B if B is blank . A tile can move from square A to square B Recall that the first relaxation gives us the sum-of-Manhattan-distances heuristic, and the third relaxation gives us the number-of-misplaced-tiles heuristic. The second relaxation leads to a relaxed problem, whose (optimal) solution is known as Gaschnig's heuristic (Gaschnig, 1979). (a) Explain why Gaschnig's heuristic is at least as accurate as the number-of-misplaced-tiles heuristic. Hint: Observe that since both are admissible heuristics, it is equivalent to showing that: 0 ≤ Number of misplaced tiles Gaschnig's heuristic <h* In the above, h* is the true cost-to-go function. In particular, explain why the number of misplaced tiles is always an underestimate of Gaschnig's heuristic. (b) For Gaschnig's heuristic and the sum-of-Manhattan-distances heuristic, show that neither is strictly better than the other. To show this, find an 8-puzzle instance where the sum-of-Manhattan-distances heuristic is more accurate than Gaschnig's heuristic, and find an 8-puzzle instance where the opposite is true. Hint: The latter case may be harder to find. Consider an instance that is very close to the goal state. (c) Describe a method to calculate Gaschnig's heuristic efficiently. You do not have to prove its correctness, but you should convince yourself that your method is correct.
Expert Answer:
Answer rating: 100% (QA)
a Gaschnigs Heuristic vs NumberofMisplacedTiles Heuristic Gaschnigs heuristic is at least as accurate as the numberofmisplacedtiles heuristic because ... View the full answer
Related Book For
Smith and Roberson Business Law
ISBN: 978-0538473637
15th Edition
Authors: Richard A. Mann, Barry S. Roberts
Posted Date:
Students also viewed these programming questions
-
A zebra can appear highly intelligent or not so intelligent, depending on what?
-
The Crazy Eddie fraud may appear smaller and gentler than the massive billion-dollar frauds exposed in recent times, such as Bernie Madoffs Ponzi scheme, frauds in the subprime mortgage market, the...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Hanover Inc. expects to have a cash balance of 546.000 on January 1, 2017. Relevant monthly budget Prepare cash budget, data for the first two months of 2017 are as follows: (10 4) Al' 1. Collections...
-
The formula for shallow-water wave propagation speed, Eq. (10.9) or (10.10), is independent of the physical properties of the liquid, i.e., density, viscosity, or surface tension. Does this mean that...
-
Repeat Exercise 11.4.20, using the Lagrange interpolating polynomials instead of splines to parametrize the curves. Compare the two methods and discuss advantages and disadvantages
-
Figure 20.23 shows a heat-integrated process for the manufacture of vinyl chloride. This design sharply reduces the utilization of utilities in Figure 20.17 without requiring additional heat...
-
Effects of Stockholders Equity Transactions on Statement of Cash Flows Refer to all of the facts in Problem 11-1. Required Indicate how each transaction affects the cash flow of Peeler Company by...
-
The following information is available to reconcile Branch Company's book balance of cash with its bank statement cash balance as of July 31. a. On July 31, the company's Cash account has a $25,691...
-
On October 1, 20Y8, Jacinto Suarez and Tricia Fritz form a partnership. Suarez agrees to invest $25,000 in cash and inventory valued at $60,000. Fritz invests certain business assets at valuations...
-
" Given F = {-28, -13, 13, 28}, which elements of set F are greater than -14? (Enter your answers as a comma-separated list.) Need Help? Watch It
-
What is GAAP and why is it important to the users of financial statements? Please explain.
-
Ben and Janet conduct an inspection of the property and report back that the length of the property seems to be a bit over a metre shorter than the title plan indicates. Which specific clause in the...
-
A particle of charge 2.3 x 10C experiences an upward force of magnitude 5.0 x 10-6 N when it is placed in a particular point in an electric field. (Indicate the direction with the signs of your...
-
Ted the manager Paradise Cafe , decided to change the software used to conduct transactions and enter customers orders Rather than creating a step by - step manual and training employees on how to...
-
Assume: annual inflation rate is 3.5% in the U.S. and 1.5% in the U.K.; the current spot rate is $1.50/ Calculate the price of USD 1year from now based on relative PPP. Write your answer as a number...
-
Painful vaginal ulcer with inguinal lymphadenopathy and school of fish appearance of microorganism or microscopy are characteristic of: a) Syphilis b) LGV c) Granuloma inguinale d) Chancroid
-
Use the method of Example 4.29 to compute the indicated power of the matrix. 1 0 1
-
Respondent James Herman OHagan was a partner in the law firm of Dorsey & Whitney in Minneapolis, Minnesota. In July 1988, Grand Metropolitan PLC (Grand Met), a company based in London, England,...
-
Brilles offered to sell his used automobile to Nevarro for $12,600 cash. Nevarro agreed to buy the car, gave Brilles a check for $12,600, and drove away in the car. The next day Nevarro sold the car...
-
Before the court is Defendants Motion for Summary Judgment. The core issue presented by the motion is whether and to what extent a collecting or depository bank will be liable to the drawer or the...
-
If a product is produced in high volume by a few large organizations, what phase of the product life cycle is it most likely in?
-
Is a highly standardized product usually produced through a make-to-order or a make-to-stock processing strategy?
-
Does providing customized products generally involve less capital investment or less skilled labor, when compared to more standardized products?
Study smarter with the SolutionInn App