Question: 2. In this exercise, you will add a more complicated paint action than in the previous exercise. Suppose the object paint_can(Color) denotes a can of
2. In this exercise, you will add a more complicated paint action than in the previous exercise.
Suppose the object paint_can(Color) denotes a can of paint of color Color.
Add the action paint(Obj, Color) that results in the object changing its color to Color.
(Unlike in the previous question, the object only has one color at a time.) The painting can only be carried out if the object is sitting at o109 and an autonomous agent is at position o109 carrying the can of paint of the appropriate color.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
