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. We will consider 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 F1 as the state evaluation function, for what search depths will West be an optimal action? 1 2 3 4 5

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 08:00
Which argument is not a valid filter? does not equal this quarter filter by cell color all of these are valid filter arguments.
Answers: 2
question
Computers and Technology, 24.06.2019 00:30
Asecurity policy is a a. set of guidlines b. set of transmission protocols c. written document d. set of rules based on standards and guidelines
Answers: 2
question
Computers and Technology, 24.06.2019 07:00
Why do we mark tlc plates with pencil and not with pen
Answers: 2
question
Computers and Technology, 24.06.2019 17:40
Write a program to analyze student’s scores. each student’s id and 4 original test scores are saved in the attached file “student_id_scores.txt”. assume there are exactly 15 students in the class.• the program first opens the file, reads student’s ids and scores from the file and saves them in two arrays: o create a one-dimensional string array “ids” to store the student’s ids.o create a (parallel) two-dimensional int array “scores” to store student’s original test scores. this array has 5 columns, the original 4 test scores should be saved in the first 4 columns, and the last column will be used to save the average score after the calculation in next step.• the program then retrieves test scores from the array “scores”, calculates average score and determines the final letter grade based on the rules in the table below for each student. assume average score is integer value.average score = (score1 + score2 + score3 + score4) / 4average score letter grade90 ~ 100 a80 ~ 89 b70 ~ 79 c60 ~ 70 d0 ~ 60 f• the average score should be saved back in the 5th column of “scores” array.• create a new parallel one-dimensional char array “grades” to save each student’s letter grade.• program also needs to find the number of a, number of b, number of c, number of d and number of f grade. as well as the highest, lowest and average score of the class.• finally, program will display all of the original scores and all results on the computer screen using the format shown as the sample output below.• the program must contain at least the following functions: (1) a function “getscores” to read and store data into “ids” and “scores” arrays.(2) a function “analyzescores” to calculate student’s average score, determine letter grade, get the number of a, b, c, d and f, find the highest, lowest and average score of the class.(3) a function “displayresults” to display all of the results
Answers: 3
You know the right answer?
In this question, we will investigate shallow search, also known as depth-limited search. Depth-limi...
Questions
question
Mathematics, 15.07.2019 13:00
Questions on the website: 13722367