DEPARTMENT OF COMPUTING

Course Home | Syllabus | Assignments | Schedule | Downloads | [print]

CS 4300: Artificial Intelligence

Assignment: A* Search Agent

Create an agent to perform in the MiniGrid - MultiRoom environment, (minigrid source code).

The performance measure used by this assignment to assess the quality of your agent will be the episode total reward, averaged over at least 25 episodes. An agent that doesn’t complete some episodes (times out / runs out of memory / crashes), will give given an average score of 0.

After your report and code are reviewed, assignment grades will be assigned. The maximum possible score will be controlled by the agent’s performance measure. See the table below.

Use the GitHub repository available for this course to store your solutions. Make a directory named multiroom-astar-search, and store your agent in multiroom-astar-search/agent1.py.

This file must contain a class Agent1 with the methods:

Note that you are to implement an agent that has a model of the environment and uses the A-star search algorithm we have discussed. DO NOT make a reinforcement learning agent, or use some other algorithms for these agents.

The model must contain at least these methods:

Where s is the state received from the gymnasium environment, and a is an action number used by the gymnasium environment. s1 is also a state from the gymnasium environment.

We discussed in class that using graph search would probably be better than tree-like search.

Create a short report, containing these elements:

Required Submissions

Performance Measure Expectations

MiniGrid-MultiRoom-N6-S6-v0

Average Score Maximum Possible Grade
a < 0.50 50%
0.50 <= a < 0.60 65%
0.60 <= a < 0.68 75%
0.68 <= a < 0.69 80%
0.69 <= a < 0.70 85%
0.70 <= a < 0.71 90%
0.71 <= a < 0.72 95%
a >= 0.72 100%

Hints and Resources

Last Updated 09/12/2024