Question: CLIPS Expert System 1- Formulate the following problem as a set of facts and rules, and use CLIPS to implement your formulation: A monkey, a
CLIPS Expert System
1- Formulate the following problem as a set of facts and rules, and use CLIPS to implement your formulation:
A monkey, a stick, two boxes (box A and box B) and a banana are in a room. The banana is suspended from the center of the ceiling. Monkey wants to get the banana, but the banana cannot be reached because the ceiling in too high. The monkey tries to hit the banana with the stick, but it is not long enough.
Initially, monkey, boxes, and the stick are all on the floor and boxes are at the corners of the room. Monkey can push the boxes to the center of the room, one box at a time. When both boxes are at the center, monkey can stack them and then climb each box at a time. Monkey can also pick up, put down and swing the stick. Monkey cannot push or stack boxes while holding the stick and can only swing the stick when holding it.
The monkey can hit and get the banana by swinging the stick when boxes are stacked at the center of the room and the monkey is on top of the boxes.
2- Your code should print a detailed sequence of instructions in correct order for the monkey on how to get the banana. Make necessary assumptions if needed.
3- Please submit your code and a page of documentation including the assumptions that you have made.
4- You may download CLIPS from: http://clipsrules.sourceforge.net/
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
