Artificial Intelligence: A Modern Approach
Artificial Intelligence: A Modern Approach
3rd Edition
ISBN: 9780136042594
Author: Stuart Russell, Peter Norvig
Publisher: Prentice Hall
Expert Solution & Answer
Book Icon
Chapter 3, Problem 4E

Explanation of Solution

Formulation for a planar map:

  • The goal state has the numbers in a certain order, which is measured as starting at the upper left corner, then proceeding left to right, and when we reach the end of a row, going down to the leftmost square in the row below.
  • For any other configuration besides the goal, whenever a tile with a greater number on it precedes a tile with smaller number, the two tiles are said to be inverted.

Proposition:

  • For a given puzzle configuration, let “N” denote the sum of the total number of inversions and the row number of the empty square.
  • “Nmod2” is invariant under any legal move.
  • After a legal move an odd “N” remains odd whereas an even “N” remains even.
  • The goal state with no inversions and empty square in the first row, has “N=1”, and can only be reached from starting states with even “N”...

Blurred answer
Students have asked these similar questions
CT ser.
Pick one million sets of 12 uniform random numbers between 0 and 1. Sum up the 12 numbers in each set. Make a histogram with these one million sums, picking some reasonable binning. You will find that the mean is (obviously?) 12 times 0.5 = 6. Perhaps more surprising, you will find that the distribution of these sums looks very much Gaussian (a "Bell Curve"). This is an example of the "Central Limit Theorem", which says that the distribution of the sum of many random variables approaches the Gaussian distribution even when the individual variables are not gaussianly distributed. mean Superimpose on the histogram an appropriately normalized Gaussian distribution of 6 and standard deviation o = 1. (Look at the solutions from the week 5 discussion session for some help, if you need it). You will find that this Gaussian works pretty well. Not for credit but for thinking: why o = 1 in this case? (An explanation will come once the solutions are posted).
Given a deck of 52 playing cards, we place all cards in random order face up next to each other. Then we put a chip on each card that has at least one neighbour with the same face value (e.g., on that has another queen next to it), we put a chip. Finally, we collect all chips that were each queen placed on the cards. For example, for the sequence of cards A♡, 54, A4, 10O, 10♡, 104, 94, 30, 3♡, Q4, 34 we receive 5 chips: One chip gets placed on each of the cards 100, 10♡, 104, 30, 3♡. (a) Let p5 be the probability that we receive a chip for the 5th card (i.e., the face value of the 5th card matches the face value of one of its two neighbours). Determine p5 (rounded to 2 decimal places). (b) Determine the expected number of chips we receive in total (rounded to 2 decimal places). (c) For the purpose of this question, you can assume that the expectation of part (b) is 6 or smaller. Assume that each chip is worth v dollars. Further, assume that as a result of this game we receive at least…
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education