Here i demonstrated how we can solve the monkey and banana problem(Famous problem Artificial Intelligence files).
Reference : Bratko,Ivan Prolog Programming for Artificial Intelligence
Reference : Bratko,Ivan Prolog Programming for Artificial Intelligence
There is a monkey at the door in to a room. Inside the room at the middle a banana is hanging from the ceiling and there is box at the window which can be used by monkey to grasp the banana. Monkey is allowed following actions.