CSCE 5210 Artificial Intelligence Assignment

Assignment Help Computer Engineering
Reference no: EM133001022

CSCE 5210 Artificial Intelligence - University of North Texas

Purpose: To gain a thorough understanding of the working of a simple, table-driven, reflex agent. This will enable you to put into practice the concepts of performance measurement, environment interaction, and the use of actuators (PEAS) to assist the agent's navigation in a stochastic setting that mimics a real-world environment.

Environment Description: The environment is a warehouse represented by a 6 by 6 grid. Each grid can either be empty (i.e. a passage that leads to a shelf) or is a shelf. There are 10 shelves in the warehouse, labelled A, B, ..., J. Each shelf contains a collection of items of a particular type. Thus, for example, shelf A contains multiple items of type A. The objective is to service customer orders through the use of a robot equipped with the agent software and hardware sensors that are mounted on the robot.

The sales ordering system accepts customer orders which are relayed to the robot wirelessly. The number of items in a given order can be taken as a random number between 1 and the total number of item types (i.e. shelves). When a robot receives a new order, it retrieves the items ordered by visiting the shelves that hold the items ordered. In order to perceive the location of shelves the robot uses sensors that are 80% accurate. Thus 80% of the time the robot will correctly sense whether a shelf exists in its neighborhood. Assume that the neighborhood consists of a maximum of 4 grid positions which are to the left, right, up and down from its current position. When the robot senses a shelf, it can move to the shelf and extract the type of item that is stored in that shelf. However, 10% of the time the sensor fails, and the robot thinks that a shelf is present when it is not the case. Similarly, 10% of the time a shelf exists but the sensor fails to detect it until it lands on the grid containing the shelf.

The agent's memory is limited to the current episode, which is the path plotted to retrieve the items for the order being serviced. It has no memory of previous episodes.

The agent should use the following rules to navigate:

1. If any of the grid positions in its neighborhood refer to an item ordered, then it moves to that grid position. If two or more neighboring positions contain ordered items, then the tie is broken by making a random choice between the positions involved.
2. If none of the neighboring positions contain ordered items, then a random choice is made to a position that has not been visited before.
Each visit to a position in a grid that does not contain an ordered item incurs a score of -1, while each visit to a position containing an ordered item scores +3. Thus a brute force algorithm that sweeps through the grid from the starting position P will score a total score of (35-n)*(-1)+n*3=-35+4*n where n is the number of items ordered. Since the robot can sense neighboring positions, your agent should do better than a brute force method when its score is averaged over a large number (say 1000) episodes.

Run your agent for 1000 episodes and print its average score. You may assume that the stock is adequate for 1000 episodes and so stock never runs out. Once an episode is over the robot immediately starts a new episode for a new order if one exists, otherwise it waits in its current position for the next order to arrive.

You are required to write a Python program to implement the agent controlling the robot. Your program should produce the following:

1. The average score taken across 1000 episodes.

2. Display the shortest path (i.e., the sequence of grid positions visited) across the 1000 episodes and its corresponding score.

3. Display the longest path across the 1000 episodes and its corresponding score.

4. Demonstrate that your program is generic enough to cope with a new layout of shelving as shown below. This should be done by carrying out requirements 1, 2 and 3 above for the new layout.

5. Give two possible reasons why the average score differs from the average score computed across the old layout.

6. What data structure(s) did you use to ensure that your program can cope with any given layout?

Attachment:- Artificial Intelligence.rar

Reference no: EM133001022

Questions Cloud

Which a large cash withdrawal by jacob is viewed : Which A large cash withdrawal by Jacob is viewed by the other partners as a permanent reduction of his equity is recorded with a debit to as?
Which the partner capital account will be credited for : The related mortgage payable of P 125,000 was assumed by the partnership. As a result of the investment, the partner's capital account will be credited for
What the partner capital account is credited : What is the entry to record the acceptance of an industrial partner to the partnership? What the partner's capital account is credited when there is a(an)
Discuss whether the industry exhibits constant returns : Discuss whether the industry exhibits Constant Returns to Scale (CRS) OR Decreasing Returns to Scale (DRS) OR Increasing Returns to Scale
CSCE 5210 Artificial Intelligence Assignment : CSCE 5210 Artificial Intelligence Assignment Help and Solution, University of North Texas - Assessment Writing Service
What does complete exposure mean : With a naked call option, the option writer does not own the underlying stock. There is complete risk exposure in this situation!
Make a profit or loss in cny : Haier-China can borrow fund in China with an interest rate of 11.44% to invest 1.63 million Australian dollars (A$) and expected return of A$1.95 million next y
Find the crossover point or the fisher intersection : Your firm is considering two projects with the cash flows below. In which discount rate range will the company prefer Project A? In which discount rate range wi
Tax-themed podcast : Tax-themed podcast: Search google and listen to any one tax-themed podcast you find interesting and it can be very short.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd