COEN 266 Artificial Intelligence (Solution)

$ 20.99
Category:

Description

Homework #1

Guideline: Follow the format in Homework1_submission_sample.pdf to write up the homework. Convert it to a single pdf file and submit to Camino. Also submit all the source code needed to generate the results of the programming problem(s) as a separate zip file to Camino.
Problem 1: Define in your own words the following terms: agent, agent function, agent program, performance measure, rational agent.

Problem 2: Give the task environment description of the following scenarios (Fully observable vs. partially observable? Deterministic vs. stochastic/strategic? Episodic vs. sequential? Static vs. dynamic/semi-dynamic? Discrete vs continuous? Single-agent vs. multi-agents?) a. Taxi driving.
b. Playing soccer.
c. Backgammon.

Problem 3: Implement a Model-Based-Reflex-Agent for the Vacuum World problem.

x Define the “state” as a list of three elements: the 1st element specifies the status of the left square (“Clean” or “Dirty”), the 2nd element specifies the status of the right square (“Clean” or “Dirty”), and the 3rd element specifies the current location of the agent (0 for left square, 1 for right square).

x The candidate actions are “Suck”, “Left” (moving to the left square), “Right” (moving to the right square). Each action costs 1 point.

x The agent will take an action based on the current state of the world. The agent program can update the state every time an action is taken. The program terminates when both squares are clean.

x Create a test case to verify your code. The test case takes two inputs: the current state, and an empty list that will store the actions; then it will generate two outputs: the sequence of actions, and the total cost.

x Your test case should be able to take any possible inputs, generate the corresponding outputs, and verify whether the outputs are correct or not.

x Explain in detail how your code works (for example, what each function does, and how the test case works).

Reviews

There are no reviews yet.

Be the first to review “COEN 266 Artificial Intelligence (Solution)”

Your email address will not be published. Required fields are marked *