We are going to extend the GRIPPER domain (the first domain studied in class) to use time and preferences. This extension of the domain was part of the June exam in 2020.
https://github.com/Malola2015/planningCourse/blob/master/assignments/Gripper.md
Do the following steps:
- Consider that the rooms where the robot of the GRIPPER domain moves are kitchen and living room; and that the robot is initially in the kitchen, together with two balls Z1 and Z2. We want as a goal that the two balls are in the living room. Model this new situation in the corresponding file.
- Extend the
pick-upanddropactions to have a duration that depends on the weight of the ball. Name that predicate asdur-ball. - Add a preference that expresses that the robot is at the end in the living room.
- Comment the previous preference and add another preference that expresses that the robot is sometime in another room called
bathroom.