Artificial Intelligence II

CSE 5361 Section 001 Spring 2006

Homework 3

Due: March 23, 2006 (midnight). No late submissions accepted.

For this homework you will implement a search-based agent that is capable of computing a path from the agent's starting location to the goal location, and then follow this path to the goal. The specific requirements are enumerated below.

    We will be using the same version of the Urban Combat Testbed (UCT) you already have (v0.5). I have updated the agent program to provide a template for a search-based agent. You can download this agent and supporting files from here. See the README.txt file included in this package for details about the contents.

    We will be using the same type of goals as the previous homework; namely, getting your agent to a specific x,y,z location. However, now this task will be accomplished by searching for a path to the goal, rather than making more local decisions about the next action to take.

  1. The search-based agent program is currently a template that defines a graph structure, reads in an XML description of the uct_apartments world (same as uct_rekjavik) which describes the open areas of the world and their interconnections, and then continuously tries to find a sequence of connecting areas starting from the area where the agent currently resides and ending at the area containing the goal location. Your job is to complete the program by implementing the following procedures:

  2. Since we only have XML data for the uct_reykjavik world (now called uct_apartments), your agent will only be tested in this world. As before, you should assume that the agent can start at any position and that the goal location can be any reachable position in the map. You may assume a tolerance of 10. Your agent will be evaluated according to its speed and success at reaching various x,y,z locations from various starting x,y,z locations. So, you should test your agent accordingly to be sure it is robust for these types of tasks.

  3. Document the design of your agent, including the original elements of the search-based agent and those added by you for this homework, in a separate document (MSWord, PDF or text). You should also describe the strengths and weaknesses of your agent in regards to the navigation task described above.

  4. Submit all source code and design document files in one zip file to me (holder@cse.uta.edu) by the above deadline. Also include in your submission a README file that describes what files are in your submission and any special instructions for building and running your agent. Most likely, you will submit an agent.cc file, design document, and README, and the agent.cc file can be compiled in the agent directory just as the original one. In addition to correct functionality and satisfaction of the above constraints, your submission will be graded based on good programming style and documentation.