Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

[10 Points] You control one or more insects in a rectangular maze-like environment. At each time step, an insect can move into an adjacent square

image text in transcribed

image text in transcribed

[10 Points] You control one or more insects in a rectangular maze-like environment. At each time step, an insect can move into an adjacent square if that square is currently free, or the insect may stay in its current location. In the case of multiple insect's adjacent insects cannot swap locations. Squares may be blocked by walls. There are N non-wall squares. Optimality is always in terms of time steps; all actions have cost 1 regardless of the number of insects moving or where they move For each of the following scenarios, precisely but compactly define the state space and give its size. Then, give a non-trivial admissible heuristic for the problem and the maximum branching factor. Your answers should follow the format in the example case below. Full credit requires a minimal state space (i.e. do not include extra information) and a reasonable non-trivial heuristic. The illustrations are given as examples; your answers should not assume a specific maze 3. Example: Lonely Bug You control a single insect as shown in the maze above, which must reach a designated target location X. There are no other insects moving around State space description: A tuple (x, y) encoding the x and y coordinates of the insect. State space size: N Heuristic: The Manhattan distance from the insect's location to the target. Maximum branching factor: 5 [10 Points] You control one or more insects in a rectangular maze-like environment. At each time step, an insect can move into an adjacent square if that square is currently free, or the insect may stay in its current location. In the case of multiple insect's adjacent insects cannot swap locations. Squares may be blocked by walls. There are N non-wall squares. Optimality is always in terms of time steps; all actions have cost 1 regardless of the number of insects moving or where they move For each of the following scenarios, precisely but compactly define the state space and give its size. Then, give a non-trivial admissible heuristic for the problem and the maximum branching factor. Your answers should follow the format in the example case below. Full credit requires a minimal state space (i.e. do not include extra information) and a reasonable non-trivial heuristic. The illustrations are given as examples; your answers should not assume a specific maze 3. Example: Lonely Bug You control a single insect as shown in the maze above, which must reach a designated target location X. There are no other insects moving around State space description: A tuple (x, y) encoding the x and y coordinates of the insect. State space size: N Heuristic: The Manhattan distance from the insect's location to the target. Maximum branching factor: 5

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Harness The Power Of Big Data The IBM Big Data Platform

Authors: Paul Zikopoulos, David Corrigan James Giles Thomas Deutsch Krishnan Parasuraman Dirk DeRoos Paul Zikopoulos

1st Edition

0071808183, 9780071808187

More Books

Students also viewed these Databases questions

Question

What is the y-intercept a ?

Answered: 1 week ago

Question

Find the derivative of y= cos cos (x + 2x)

Answered: 1 week ago