






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







For official grading use only. Total: ______(+1) / 100 Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q ____ / 15 ____ / 15 ____ / 12 ____ / 12 ____ / 10 ____ / 15 ____ / 10 ____ / 10
Consider the tree shown below. The numbers on the arcs are the step costs; the numbers inside states A, L, C, B and R are the heuristic estimates; all other states have a heuristic estimate of 0 (not shown). Perform the indicated searches using X as the starting state, and G as the goal state. For search methods that use a priority based method, assume that a tie in terms of priority will result in the fall back method of a child node being selected and expanded based on alphabetical order (e.g. first occurring alphabetically will be taken from queue and expanded first). For search methods that do not use priority, simply assume that expansion will take place from left to right on the page. These two rules should eliminate all ambiguity in terms of the results of your tree search. What order would the states be expanded by each type of search. Write only the sequence of states expanded by each search. X A L C M B G R D Y T O Q h=1 (^) h= h=3 h=2 h=
Search Type List of states Breadth First Search X A L C M B G Depth First Search X A C D Y M B T L G Iterative Deepening X X A L X A C M B L G Uniform-Cost Search X L A R C B G A* search X A L R G Q: If we changed the tie-breaker method for priority-based search to select the node that had first been placed on the queue rather then select alphabetically, would there have been any differences in any of the priority based searches? If so which ones and how would it have differed? Uniform-Cost Search would have differed. In the original specified heuristic, B & G have the same estimated cost (8), therefore by the tie-breaker specified in the problem we choose B because it occurs before G alphabetically. But G was placed on the UCS queue before B (on the expansion of node L), therefore as the question states if we are choosing by first-on-queue in the case of a tie, we would have choosen G before B and thus UCS would have had the expansion sequence: X L A R C G Breadth First, Depth First and Iterative Deepening are not priority based searches (e.g. we do not use a priority queue in the implementation of the search heuristic). Therefore, there is no concept of priority, nor ties based on priority, in these searches. The A* search for this tree also involves a tie of priorities (G & O have an evaluation of 8 in this case), however using either first-on-queue or alphabetical ordering to break the tie results in the same sequence of expansions in this case, thus there is no difference for the A* search.
A robot soccer player has to be able to track a soccer ball, keep track of other players (both opponents and teammates), perform actions such as kicking the ball towards the goal, passing the ball to teammates, track its own location on the field, move to locations on the playing field, etc. For the general problem described above, where we want to field a team of robot soccer players to play a team of real live humans at a game of soccer, determine the properties of the task environment. Choose the property you think the environment has, and give a sentence of explanation. Some of the environment properties below can be argued either way, so your explanation of how the robot players are engaging with the environment will determine if your choice is correct. Some of the environment properties can be argued either way depending on your formulation of the agent or assumptions about the task. The most commonly assumed environmental properties for this problem as stated might be: Fully Observable vs. Partially Observable : Both limitations of the agents sensors, as well as the apparent impossibility of observing the other agent's intentions and goals, would be strong indicators that the problem as stated will only be partially observable. Deterministic vs. Stochastic : Without an assumption of perfect information about initial conditions, even a simple prediction of, for example, the velocity, trajectory and position of the soccer ball for more than a few seconds into the future will become impossible. Therefore an assumption of randomness in the evolution of the physical state of the environment would probably be necessary. Episodic vs. Sequential : Though it might be possible to divide the agents experience into episodes, given real-humans and a need to act in continuous real-time, the environment is most usefully viewed as sequential. Static vs. Dynamic : It is useful to assume that there will be time pressures in this environment. If the agent stands still, the rest of the agents as well as the ball will continue to evolve and move. Discrete vs. Continuous : Similar to an argument of a dynamic environment, with real human opponents it will be difficult to discretize the time dimension of this problem, thus a real, continuous time formulation seems natural. Single Agent vs. Multi Agent : Treating the other players, both your teammates as well as your opponents, as autonomous agents is the simplest formulation of this environment/problem.
You are trying to schedule observations on the space telescope. We have m scientists who have each submitted a list of n telescope observations they would like to make. An observation is specified by a target, a telescope instrument, and a time slot. Each scientist is working on a different project so the targets in each scientist’s observations are different from those of other scientists. There are k total time slots, and the telescope has three instruments, but all must be aimed at the same target at the same time. The greedy scientists cannot all be satisfied, so we will try to find a schedule that satisfies the following constraints: C1. Exactly two observations from each scientist’s list will be made (the choice of the two will be part of the solution). C2. At most one observation per instrument per time slot is scheduled. C3. The observations scheduled for a single time slot must have the same target. Note that for some set of requested observations, there may not be any consistent schedule, but that’s fine. Consider the following two formulations of the problem. A. The variables are the 3k instrument/time slots. B. The variables are the m scientists. For each formulation, specify
n
n^2 2
3. Satisfied constraints: C1, since we will guarantee that exactly two of the scientist’s observations **are scheduled.
variables and require that the instrument/time slot requests don’t conflict. C3 is a binary constraint in this formulation. Place a constraint between every pair of variables and require that the targets for observations with the same time slot don’t conflict.
Consider the game tree shown below. Assume the top node is a max node. The labels on the arcs are the moves. The numbers in the bottom layer are the values of the different outcomes of the game to the max player.
1. What is the value of the game to the max player? - 2. What first move should the max player make? R 3. Assuming the max player makes that move, what is the best next move for the min player, assuming that this is the entire game tree? R
Min Max Min Max
In the following game tree, are there any alpha-beta cutoffs?
1. Consider the nodes from left to right, which nodes are cuto ff? Circle the nodes that are not examined? Circle the nodes that are not examined and label them with L. (The M5 and R1 nodes of right subtree) 2. Consider the nodes from right to left, which nodes are cuto ff? Circle the nodes that are not examined? Circle the nodes that are not examined and label them with R. (The L1 node of middle subtree) Min Max -2 3 1 1 R -5 -3 5 L 1 L