subject

In this question, we will investigate shallow search, also known as depth-limited search. depth-limited search is not guaranteed to find the optimal solution to the original problem. the point of this question is to explore some of the (potentially undesirable) behavior of depth-limited search, and to illustrate that the quality of the evaluation function can play a big role in how well depth-limited search performs. consider the following pacman configuration, in the board below. at each time step. pacman can move either west (left) or east (right) and is using limited-depth minimax search (where the minimizing agent does not really do anything) to choose his next move. pacman is 3 east moves away from the food, and chooses from the following state evaluation functions: f1(state) = -number of food pellets left f2(state) = -number of food pellets left + 0.5/(distance to closest food pellet + 1); distance to closest food pellet is taken as 0 when no food remains. the search depth referred to in this question corresponds to the depth in a search tree that only considers the maximizer's actions. for example, if the search considers sequences of up to 2 actions by the maximizer, it'd have a search depth of 2. in the questions below, optimality means that the action is an optimal first action according to the search tree with the specified depth and the specified evaluation function. in each of these questions, there are 5 different search trees under consideration: one of depth 1. one of depth 2, and one of depth 5. note that there can be more than one optimal action for a given search tree (this can happen whenever there are ties). also, note that a search does not finish when the dots are eaten. using f2 as the state evaluation function, for what search depths will east be an optimal action? 1 2 3 4 5 using f2 as the state evaluation function, for what search depths will west be an optimal action? 1 2 3 4 5

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:30
Which of the following commands is more recommended while creating a bot?
Answers: 1
question
Computers and Technology, 23.06.2019 19:00
Write a program that displays the following menu: geometry calculator 1. calculate the area of a circle 2. calculate the area of a rectangle 3. calculate the area of a triangle 4. quit enter your choice (1-4): if the user enters 1, the program should ask for the radius of the circle and then display its area. use the following formula: area = ď€(the square of r) use 3.14159 for ď€ and the radius of the circle for r. if the user enters 2, the program should ask for the length and width of the rectangle and then display the rectangle’s area. use the following formula: area = length * width if the user enters 3, the program should ask for the length of the triangle’s base and its height, and then display its area. use the following formula: area = base * height * .5 if the user enters 4, the program should end. input validation: display an error message if the user enters a number outside the range of 1 through 4 when selecting an item from the menu. do not accept negative values for the circle’s radius, the rectangle’s length or width, or the triangle’s base or height. note: if the user enters an improper menu choice (1-4), the program prints "the valid choices are 1 through 4. run the program again and select one of those." if the user enters a negative radius, the program prints "the radius can not be less than zero." if the user enters a negative value for height or base, the program prints "only enter positive values for base and height."
Answers: 1
question
Computers and Technology, 24.06.2019 00:50
Which player type acts on other players? a. killer b. achiever c. explorer d. socializer
Answers: 1
question
Computers and Technology, 24.06.2019 03:30
What is the purpose of a computer network needs assessment? to analyze which workers need more training to improve their performance to compare worker productivity to determine what steps employees can take to increase company revenue to evaluate how to move from the current status to the desired goal
Answers: 2
You know the right answer?
In this question, we will investigate shallow search, also known as depth-limited search. depth-limi...
Questions
question
Mathematics, 03.09.2020 07:01
question
Physics, 03.09.2020 08:01
question
Mathematics, 03.09.2020 08:01
question
Health, 03.09.2020 08:01
question
Mathematics, 03.09.2020 08:01
question
Mathematics, 03.09.2020 08:01
Questions on the website: 13722360