FJK Home | CPE/CSC 480 | Syllabus | Schedule | Lecture Notes | Assignments | Labs | Project | Other Links |
Status | Final |
Points | 25 |
Deadline Part 1 | Nov. 23 |
Deadline Part 2 | Nov. 30 |
Note: Since the end of the quarter is close already, you can choose to do either Assignment 3 (Wumpus World) or Assignment 4 (Robocode). You must do both parts of the same assignment, i.e. you can not do Part 1 of Assignment 3 and Part 2 of Assignment 4, or vice versa. I will adjust the overall score for the assignments accordingly.
The goal for this task is to build an agent that can navigate the Wumpus World successfully: It should find a safe path to the gold (if there exists one), pick up the gold, return to the exit, and leave the cave. Use the characteristicsfor the Wumpus World as discussed in the class and described in the textbook.
You can make the following assumptions:
An important aspect of this task is the representation of the knowledge the agent has (e.g. the state of the Wumpus World), and the reasoning the agent performs in order to decide about the safety or risk of squares. It is also advisable for your agent to indicate its internal world model to the user. This could be an additional display showing the agent's knowledge of the Wumpus World at a particular point, or a text-based printout of the current status.
You should use the AIILE environment for this task as well. Version 0.5 of AIILE contains a few minor changes for the Wumpus World environment. You can download it from the AIILE environment Web page.
This task is to be performed in two parts. In the first part, you determine the methods and techniques you use for the representation of knowledge about the Wumpus World and for reasoning, e.g. about the properties of the squares, or the location of the wumpus.
Describe your knowledge representation and reasoning methods in your README file. Submit the README file as the first part of the assignment and make sure that the corresponding source code is documented. In the implementation for this part, your agent needs to determine the properties of a given square, based on the direct information received from the environment, and on previously gathered information. So for each of the adjacent squares of the current square the agent should determine the following conditions:
is safe (empty) | [E] |
contains an obstacle (including walls) | [X] |
may contain a pit (possibly with a risk factor) | [P? 0.9] |
is known to contain a pit | [P!] |
may contain the Wumpus (possibly with a risk factor) | [W? 0.9] |
is known to contain the Wumpus | [W!] |
contains the gold | [G] |
Please use the notation as indicated above. We will use the following grading guidelines for Part 1:
Based on your first part, the agent now has to find a path to the square with the gold, pick up the gold, return to the starting square, and exit the Wumpus world. The performance of the agent is scored as follows:
The search costs for the agent are similar to the ones for the previous assignment:
The path costs for the agent are:
In this task, the agent needs to perform its activities in an online mode: It can only detect the properties of a location once it is there. While it would be nice for the agent to explore the cave from the safety of its home base and then simply take the safe route to the gold (if there is one), it would diminish the purpose of the game.
The configuration for the Wumpus world with the location of the gold, pits, wumpus, and obstacles will be provided through the environment. Your agent is expected to work not only with sample environments, but with any environment that adheres to the Wumpus World specification as provided in the textbook and in the description of this assignment.
I will use the following grading guidelines for Part 2:
FJK Home | CPE/CSC 480 | Syllabus | Schedule | Lecture Notes | Assignments | Labs | Project | Other Links |
Franz Kurfess |