CS814 AI For Autonomous Systems Coursework 3 – UK.

Subject Code & Title : CS814 AI For Autonomous Systems
Aim of the assignment
To provide deeper understanding of Classical AI Planning.
Learning outcomes :
Program in PDDL, with the goal being to implement key AI algorithms and build classical AI Planning system; Define and understand the problem of Artificial Intelligence as it relates to autonomous systems.
Team : Group selection from coursework 2 will be used in this coursework.
CS814 AI For Autonomous Systems Coursework 3 – UK.

CS814 AI For Autonomous Systems Coursework 3

Submission :
You will be allowed to submit one file only in .doc or .docx extension. The document should contain three different parts:
1.The first part is the PDDL code of the domain file.

2.The second part is the PDDL code of the problem file.

3.The third part is the plan that you have received from the planner.

The file should be submitted using My Place; no submission will be accepted in any different way. Any extension should be requested in advance of the submission deadline, with a valid reason. Assessments submitted after the deadline without an approved extension will receive a mark of zero.

Task: create a planning model for the basic logistics task in which the hero (the robot) should save the cookies from the cookie monster.

The diagram above shows a set of locations (A 1 to A 9 and B 1 to B 9). A 1 to A 9 locations are connected horizontally and vertically, which means that, from A 1, the robot can go to A 4 or A 2, but he cannot go to A 5 (diagonal). In the same way, the robot can move between B locations. A 6 is connected to B 4 with a gate; If the gate is opened, the robot can move from A 6 to B 4 or vice versa, otherwise he cannot. To open or close the gate, the robot should be in
A 6 or B 4 and needs a special key. To grab the key or the cookies, the robot must be in the same location of the key or the cookies, respectively.

Question 1 :
In this question, you must write the domain file. The domain file should include a list of predicates and actions. It can optionally include a list of types.

CS814 AI For Autonomous Systems Coursework 3 – UK.

CS814 AI For Autonomous Systems Coursework 3

The actions should allow for the following activities:
• The robot can move between connected locations.
• The robot can move from A6 to B4, or vice versa, if the gate is opened.
• The robot can grab the key, or put it down in a location.
• The robot can open or close the gate, using the key.
• The robot can grab the cookies, or put it down in a location.

The list of predicates should be those sufficient to support the actions. Everything not explicitly stated is up to you.

Question 2 :
In this question, you must write the problem file. The problem file will need to include a list of objects, an initial state, and a goal.
The initial state is as follows:
• The robot is in A 1,
• The gate is opened,
• The key is in B 7,
• The cookies are in B 9,
• The cookie monster is in B 3.

CS814 AI For Autonomous Systems Coursework 3 – UK.

CS814 AI For Autonomous Systems Coursework 3

The goal state should indicate that the robot is back to one of the A locations, and he has the cookies. In addition, the gate should be closed so the cookie monster cannot follow the robot.

Question 3 :
In this question, you should add the received solution or the plan from the (online) planner.