SlideShare a Scribd company logo
Monkey Banana Problem
Lecture-15
Hema Kashyap
31 August 2015 1
Definition
• “A monkey is in a room. A bunch of bananas is
hanging from the ceiling. The monkey cannot
reach then bananas directly. There is a box in
the corner of the room. How can the monkey
get the bananas?”
31 August 2015 2
Procedure
• The solution of the problem is of course that the monkey must push the box
under the bananas, then stand on the box and grab the bananas. But the
solution procedure requires a lot of planning algorithms. The purpose of the
problem is to raise the question: Are monkeys intelligent? Both humans and
monkeys have the ability to use mental maps to remember things like
where to go to find shelter or how to avoid danger.
• They can also remember where to go to gather food and water, as well as
how to communicate with each other. Monkeys have the ability not only to
remember how to hunt and gather but they also have the ability to learn
new things, as is the case with the monkey and the bananas. Even though
that monkey may never have entered that room before or had only a box for
a tool to gather the food available, that monkey can learn that it needs to
move the box across the floor, position it below the bananas and climb the
box to reach for them. Some people believe that this is part instinct, part
learned behaviour. It is most probably both.
31 August 2015 3
Procedure
• Initially, the monkey is at location ‘A’, the banana is at
location ‘B’ and the box is at location ‘C’. The monkey and
box have height “low”; but if the monkey climbs onto the box
will have height “High”, the same as the bananas.
• The action available to the monkey include:
“GO” from one place to another.
“PUSH” an object from one place to another.
“Climb” onto an object.
“Grasp” an object.
• Grasping results in holding the object if the monkey and the
object are in the same place at the same height.
31 August 2015 4
Solution
• What is the initial state description?
• At (monkey, A), At (banana, B), At (box, C)
• Position (monkey, low), Position (banana,
high), Position (box, low)
31 August 2015 5
Step-2
• What are the definitions of the different actions?
a) Go (x, y)
Precondition: At (monkey, x)
Effects: ¬At (monkey, x), At (monkey, y)
b) Push (object, x, y, height)
Pre condition: At (monkey, x), At (object, x), Position (monkey, height),
Position (object, height)
Effects: ¬ (monkey, x), ¬At (object, x), At (monkey, y), At(object, y)
c) Climb up (object, y)
Precondition: At (monkey, x), At (object, x), Position (monkey, low),
Position (object, low)
Effects: ¬Position (monkey, low), Position (monkey, high), On (monkey,
object)
31 August 2015 6
d) Climb down (object)
Preconditions: Position (monkey, high), On (monkey, object)
Effects: ¬Position (monkey, high), ¬ On (monkey, object)
Position: (monkey, low)
e) Grasp (object, x, height)
Preconditions: At (monkey, x), At (object, x), Position (monkey,
height), Position (object, height)
Effect: Hold (object)
f) UnGrasp (object, x, height)
Preconditions: Hold (object), At (monkey, x), At (object, x),
Position (monkey, height), Position (object, height)
Effects: ¬Hold (object)
31 August 2015 7
Solution
• So the solution to the planning problem may
be of following steps
1. GO(A,C)
2. PUSH (Box, C, B, Low)
3. Climb Up(Box , B)
4. Grasp(banana, B, High)
5. Climb down(Box)
6. Push(Box, B, C, Low)
31 August 2015 8

More Related Content

What's hot

Knowledge based agents
Knowledge based agentsKnowledge based agents
Knowledge based agents
Dr. C.V. Suresh Babu
 
Planning Agent
Planning AgentPlanning Agent
Planning Agent
Shiwani Gupta
 
AI: AI & Problem Solving
AI: AI & Problem SolvingAI: AI & Problem Solving
AI: AI & Problem Solving
DataminingTools Inc
 
Conceptual dependency
Conceptual dependencyConceptual dependency
Conceptual dependency
Jismy .K.Jose
 
search strategies in artificial intelligence
search strategies in artificial intelligencesearch strategies in artificial intelligence
search strategies in artificial intelligence
Hanif Ullah (Gold Medalist)
 
Planning
PlanningPlanning
Planning
ahmad bassiouny
 
Hill climbing algorithm in artificial intelligence
Hill climbing algorithm in artificial intelligenceHill climbing algorithm in artificial intelligence
Hill climbing algorithm in artificial intelligence
sandeep54552
 
Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}
FellowBuddy.com
 
Local search algorithm
Local search algorithmLocal search algorithm
Local search algorithm
Megha Sharma
 
Knowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceKnowledge representation In Artificial Intelligence
Knowledge representation In Artificial Intelligence
Ramla Sheikh
 
Water jug problem ai part 6
Water jug problem ai part 6Water jug problem ai part 6
Water jug problem ai part 6
Kirti Verma
 
Classical Planning
Classical PlanningClassical Planning
Classical Planning
ahmad bassiouny
 
Propositional logic
Propositional logicPropositional logic
Propositional logicRushdi Shams
 
Adversarial search
Adversarial searchAdversarial search
Adversarial searchNilu Desai
 
AI_Session 11: searching with Non-Deterministic Actions and partial observati...
AI_Session 11: searching with Non-Deterministic Actions and partial observati...AI_Session 11: searching with Non-Deterministic Actions and partial observati...
AI_Session 11: searching with Non-Deterministic Actions and partial observati...
Asst.prof M.Gokilavani
 
State Space Representation and Search
State Space Representation and SearchState Space Representation and Search
State Space Representation and Search
Hitesh Mohapatra
 
Support Vector Machines ( SVM )
Support Vector Machines ( SVM ) Support Vector Machines ( SVM )
Support Vector Machines ( SVM )
Mohammad Junaid Khan
 
Planning in Artificial Intelligence
Planning in Artificial IntelligencePlanning in Artificial Intelligence
Planning in Artificial Intelligence
kitsenthilkumarcse
 
Knowledge Engineering in FOL.
Knowledge Engineering in FOL.Knowledge Engineering in FOL.
Knowledge Engineering in FOL.
Megha Sharma
 

What's hot (20)

Knowledge based agents
Knowledge based agentsKnowledge based agents
Knowledge based agents
 
Planning Agent
Planning AgentPlanning Agent
Planning Agent
 
AI: AI & Problem Solving
AI: AI & Problem SolvingAI: AI & Problem Solving
AI: AI & Problem Solving
 
Conceptual dependency
Conceptual dependencyConceptual dependency
Conceptual dependency
 
search strategies in artificial intelligence
search strategies in artificial intelligencesearch strategies in artificial intelligence
search strategies in artificial intelligence
 
Planning
PlanningPlanning
Planning
 
Hill climbing algorithm in artificial intelligence
Hill climbing algorithm in artificial intelligenceHill climbing algorithm in artificial intelligence
Hill climbing algorithm in artificial intelligence
 
Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}
 
Local search algorithm
Local search algorithmLocal search algorithm
Local search algorithm
 
Knowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceKnowledge representation In Artificial Intelligence
Knowledge representation In Artificial Intelligence
 
Water jug problem ai part 6
Water jug problem ai part 6Water jug problem ai part 6
Water jug problem ai part 6
 
Classical Planning
Classical PlanningClassical Planning
Classical Planning
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Adversarial search
Adversarial searchAdversarial search
Adversarial search
 
AI_Session 11: searching with Non-Deterministic Actions and partial observati...
AI_Session 11: searching with Non-Deterministic Actions and partial observati...AI_Session 11: searching with Non-Deterministic Actions and partial observati...
AI_Session 11: searching with Non-Deterministic Actions and partial observati...
 
State Space Representation and Search
State Space Representation and SearchState Space Representation and Search
State Space Representation and Search
 
Frames
FramesFrames
Frames
 
Support Vector Machines ( SVM )
Support Vector Machines ( SVM ) Support Vector Machines ( SVM )
Support Vector Machines ( SVM )
 
Planning in Artificial Intelligence
Planning in Artificial IntelligencePlanning in Artificial Intelligence
Planning in Artificial Intelligence
 
Knowledge Engineering in FOL.
Knowledge Engineering in FOL.Knowledge Engineering in FOL.
Knowledge Engineering in FOL.
 

Viewers also liked

Monkey's trap
Monkey's trapMonkey's trap
Monkey's trap
ufuk taş
 
The monkey pot
The monkey potThe monkey pot
The monkey potMichael A.
 
9 Greatest Albert Einstein Quotes | Alex Noudelman
9 Greatest Albert Einstein Quotes | Alex Noudelman9 Greatest Albert Einstein Quotes | Alex Noudelman
9 Greatest Albert Einstein Quotes | Alex Noudelman
Alex Noudelman
 
Albert einstein quotes citaten
Albert einstein quotes citatenAlbert einstein quotes citaten
Albert einstein quotes citaten
Bart Steenbergen
 
Histograms explained
Histograms explainedHistograms explained
Histograms explained
Cristiano Betta
 
Histograms and polygons
Histograms and polygonsHistograms and polygons
Histograms and polygonsshivang1999
 
Features of gaussian distribution curve
Features of gaussian distribution curveFeatures of gaussian distribution curve
Features of gaussian distribution curvefarzeen javaid
 
Normal Distribution
Normal DistributionNormal Distribution
Normal Distribution
mathscontent
 
Histograms, frequency polygons, and ogives
Histograms, frequency polygons, and ogivesHistograms, frequency polygons, and ogives
Histograms, frequency polygons, and ogives
Tom Thand
 
Interpretation of cbc 3
Interpretation of cbc 3Interpretation of cbc 3
Interpretation of cbc 3
Rakesh Verma
 
Normal distribution
Normal distributionNormal distribution
Normal distribution
Ananya Jain
 
Normal Distribution Presentation
Normal Distribution PresentationNormal Distribution Presentation
Normal Distribution Presentationsankarshanjoshi
 
Cause and effect diagram
Cause and effect diagramCause and effect diagram
Cause and effect diagramLizzette Danan
 
A Collection of Quotes from Albert Einstein
A Collection of Quotes from Albert EinsteinA Collection of Quotes from Albert Einstein
A Collection of Quotes from Albert Einstein
Neil Beyersdorf - MSES | CLSSMBB | Prosci OCM
 
Fish bone examples ppt
Fish bone examples pptFish bone examples ppt
Fish bone examples ppt
amreeksingh1977
 
The Power of Gratitude
The Power of GratitudeThe Power of Gratitude
The Power of Gratitude
INSEAD
 
Interpretation of histograms
Interpretation of histogramsInterpretation of histograms
Interpretation of histograms
Pankaj Gupta
 

Viewers also liked (20)

Monkey's trap
Monkey's trapMonkey's trap
Monkey's trap
 
The monkey pot
The monkey potThe monkey pot
The monkey pot
 
9 Greatest Albert Einstein Quotes | Alex Noudelman
9 Greatest Albert Einstein Quotes | Alex Noudelman9 Greatest Albert Einstein Quotes | Alex Noudelman
9 Greatest Albert Einstein Quotes | Alex Noudelman
 
Albert einstein quotes citaten
Albert einstein quotes citatenAlbert einstein quotes citaten
Albert einstein quotes citaten
 
Histograms explained
Histograms explainedHistograms explained
Histograms explained
 
Histograms and polygons
Histograms and polygonsHistograms and polygons
Histograms and polygons
 
Features of gaussian distribution curve
Features of gaussian distribution curveFeatures of gaussian distribution curve
Features of gaussian distribution curve
 
Normal Distribution
Normal DistributionNormal Distribution
Normal Distribution
 
Histograms, frequency polygons, and ogives
Histograms, frequency polygons, and ogivesHistograms, frequency polygons, and ogives
Histograms, frequency polygons, and ogives
 
Interpretation of cbc 3
Interpretation of cbc 3Interpretation of cbc 3
Interpretation of cbc 3
 
Normal distribution
Normal distributionNormal distribution
Normal distribution
 
Normal Distribution Presentation
Normal Distribution PresentationNormal Distribution Presentation
Normal Distribution Presentation
 
C & E matrix
C & E matrixC & E matrix
C & E matrix
 
Histogram
HistogramHistogram
Histogram
 
Cause and effect diagram
Cause and effect diagramCause and effect diagram
Cause and effect diagram
 
A Collection of Quotes from Albert Einstein
A Collection of Quotes from Albert EinsteinA Collection of Quotes from Albert Einstein
A Collection of Quotes from Albert Einstein
 
Fish bone examples ppt
Fish bone examples pptFish bone examples ppt
Fish bone examples ppt
 
Normal distribution stat
Normal distribution statNormal distribution stat
Normal distribution stat
 
The Power of Gratitude
The Power of GratitudeThe Power of Gratitude
The Power of Gratitude
 
Interpretation of histograms
Interpretation of histogramsInterpretation of histograms
Interpretation of histograms
 

More from Hema Kashyap

Lecture 30 introduction to logic
Lecture 30 introduction to logicLecture 30 introduction to logic
Lecture 30 introduction to logic
Hema Kashyap
 
Lecture 29 genetic algorithm-example
Lecture 29 genetic algorithm-exampleLecture 29 genetic algorithm-example
Lecture 29 genetic algorithm-example
Hema Kashyap
 
Lecture 28 genetic algorithm
Lecture 28 genetic algorithmLecture 28 genetic algorithm
Lecture 28 genetic algorithm
Hema Kashyap
 
Lecture 27 simulated annealing
Lecture 27 simulated annealingLecture 27 simulated annealing
Lecture 27 simulated annealing
Hema Kashyap
 
Lecture 26 local beam search
Lecture 26 local beam searchLecture 26 local beam search
Lecture 26 local beam search
Hema Kashyap
 
Lecture 25 hill climbing
Lecture 25 hill climbingLecture 25 hill climbing
Lecture 25 hill climbing
Hema Kashyap
 
Lecture 24 iterative improvement algorithm
Lecture 24 iterative improvement algorithmLecture 24 iterative improvement algorithm
Lecture 24 iterative improvement algorithm
Hema Kashyap
 
Lecture 23 alpha beta pruning
Lecture 23 alpha beta pruningLecture 23 alpha beta pruning
Lecture 23 alpha beta pruning
Hema Kashyap
 
Lecture 22 adversarial search
Lecture 22 adversarial searchLecture 22 adversarial search
Lecture 22 adversarial search
Hema Kashyap
 
Lecture 21 problem reduction search ao star search
Lecture 21 problem reduction search ao star searchLecture 21 problem reduction search ao star search
Lecture 21 problem reduction search ao star search
Hema Kashyap
 
Lecture 20 problem reduction search
Lecture 20 problem reduction searchLecture 20 problem reduction search
Lecture 20 problem reduction search
Hema Kashyap
 
Lecture 19 sma star algorithm
Lecture 19 sma star algorithmLecture 19 sma star algorithm
Lecture 19 sma star algorithm
Hema Kashyap
 
Lecture 18 simplified memory bound a star algorithm
Lecture 18 simplified memory bound a star algorithmLecture 18 simplified memory bound a star algorithm
Lecture 18 simplified memory bound a star algorithm
Hema Kashyap
 
Lecture 17 Iterative Deepening a star algorithm
Lecture 17 Iterative Deepening a star algorithmLecture 17 Iterative Deepening a star algorithm
Lecture 17 Iterative Deepening a star algorithm
Hema Kashyap
 
Lecture 16 memory bounded search
Lecture 16 memory bounded searchLecture 16 memory bounded search
Lecture 16 memory bounded search
Hema Kashyap
 
Lecture 14 Heuristic Search-A star algorithm
Lecture 14 Heuristic Search-A star algorithmLecture 14 Heuristic Search-A star algorithm
Lecture 14 Heuristic Search-A star algorithm
Hema Kashyap
 
Lecture 13 Criptarithmetic problem
Lecture 13 Criptarithmetic problemLecture 13 Criptarithmetic problem
Lecture 13 Criptarithmetic problem
Hema Kashyap
 
Lecture 12 Heuristic Searches
Lecture 12 Heuristic SearchesLecture 12 Heuristic Searches
Lecture 12 Heuristic Searches
Hema Kashyap
 
Lecture 11 Informed Search
Lecture 11 Informed SearchLecture 11 Informed Search
Lecture 11 Informed Search
Hema Kashyap
 
Lecture 10 Uninformed Search Techniques conti..
Lecture 10 Uninformed Search Techniques conti..Lecture 10 Uninformed Search Techniques conti..
Lecture 10 Uninformed Search Techniques conti..
Hema Kashyap
 

More from Hema Kashyap (20)

Lecture 30 introduction to logic
Lecture 30 introduction to logicLecture 30 introduction to logic
Lecture 30 introduction to logic
 
Lecture 29 genetic algorithm-example
Lecture 29 genetic algorithm-exampleLecture 29 genetic algorithm-example
Lecture 29 genetic algorithm-example
 
Lecture 28 genetic algorithm
Lecture 28 genetic algorithmLecture 28 genetic algorithm
Lecture 28 genetic algorithm
 
Lecture 27 simulated annealing
Lecture 27 simulated annealingLecture 27 simulated annealing
Lecture 27 simulated annealing
 
Lecture 26 local beam search
Lecture 26 local beam searchLecture 26 local beam search
Lecture 26 local beam search
 
Lecture 25 hill climbing
Lecture 25 hill climbingLecture 25 hill climbing
Lecture 25 hill climbing
 
Lecture 24 iterative improvement algorithm
Lecture 24 iterative improvement algorithmLecture 24 iterative improvement algorithm
Lecture 24 iterative improvement algorithm
 
Lecture 23 alpha beta pruning
Lecture 23 alpha beta pruningLecture 23 alpha beta pruning
Lecture 23 alpha beta pruning
 
Lecture 22 adversarial search
Lecture 22 adversarial searchLecture 22 adversarial search
Lecture 22 adversarial search
 
Lecture 21 problem reduction search ao star search
Lecture 21 problem reduction search ao star searchLecture 21 problem reduction search ao star search
Lecture 21 problem reduction search ao star search
 
Lecture 20 problem reduction search
Lecture 20 problem reduction searchLecture 20 problem reduction search
Lecture 20 problem reduction search
 
Lecture 19 sma star algorithm
Lecture 19 sma star algorithmLecture 19 sma star algorithm
Lecture 19 sma star algorithm
 
Lecture 18 simplified memory bound a star algorithm
Lecture 18 simplified memory bound a star algorithmLecture 18 simplified memory bound a star algorithm
Lecture 18 simplified memory bound a star algorithm
 
Lecture 17 Iterative Deepening a star algorithm
Lecture 17 Iterative Deepening a star algorithmLecture 17 Iterative Deepening a star algorithm
Lecture 17 Iterative Deepening a star algorithm
 
Lecture 16 memory bounded search
Lecture 16 memory bounded searchLecture 16 memory bounded search
Lecture 16 memory bounded search
 
Lecture 14 Heuristic Search-A star algorithm
Lecture 14 Heuristic Search-A star algorithmLecture 14 Heuristic Search-A star algorithm
Lecture 14 Heuristic Search-A star algorithm
 
Lecture 13 Criptarithmetic problem
Lecture 13 Criptarithmetic problemLecture 13 Criptarithmetic problem
Lecture 13 Criptarithmetic problem
 
Lecture 12 Heuristic Searches
Lecture 12 Heuristic SearchesLecture 12 Heuristic Searches
Lecture 12 Heuristic Searches
 
Lecture 11 Informed Search
Lecture 11 Informed SearchLecture 11 Informed Search
Lecture 11 Informed Search
 
Lecture 10 Uninformed Search Techniques conti..
Lecture 10 Uninformed Search Techniques conti..Lecture 10 Uninformed Search Techniques conti..
Lecture 10 Uninformed Search Techniques conti..
 

Recently uploaded

Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 

Recently uploaded (20)

Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 

Lecture 15 monkey banana problem

  • 1. Monkey Banana Problem Lecture-15 Hema Kashyap 31 August 2015 1
  • 2. Definition • “A monkey is in a room. A bunch of bananas is hanging from the ceiling. The monkey cannot reach then bananas directly. There is a box in the corner of the room. How can the monkey get the bananas?” 31 August 2015 2
  • 3. Procedure • The solution of the problem is of course that the monkey must push the box under the bananas, then stand on the box and grab the bananas. But the solution procedure requires a lot of planning algorithms. The purpose of the problem is to raise the question: Are monkeys intelligent? Both humans and monkeys have the ability to use mental maps to remember things like where to go to find shelter or how to avoid danger. • They can also remember where to go to gather food and water, as well as how to communicate with each other. Monkeys have the ability not only to remember how to hunt and gather but they also have the ability to learn new things, as is the case with the monkey and the bananas. Even though that monkey may never have entered that room before or had only a box for a tool to gather the food available, that monkey can learn that it needs to move the box across the floor, position it below the bananas and climb the box to reach for them. Some people believe that this is part instinct, part learned behaviour. It is most probably both. 31 August 2015 3
  • 4. Procedure • Initially, the monkey is at location ‘A’, the banana is at location ‘B’ and the box is at location ‘C’. The monkey and box have height “low”; but if the monkey climbs onto the box will have height “High”, the same as the bananas. • The action available to the monkey include: “GO” from one place to another. “PUSH” an object from one place to another. “Climb” onto an object. “Grasp” an object. • Grasping results in holding the object if the monkey and the object are in the same place at the same height. 31 August 2015 4
  • 5. Solution • What is the initial state description? • At (monkey, A), At (banana, B), At (box, C) • Position (monkey, low), Position (banana, high), Position (box, low) 31 August 2015 5
  • 6. Step-2 • What are the definitions of the different actions? a) Go (x, y) Precondition: At (monkey, x) Effects: ¬At (monkey, x), At (monkey, y) b) Push (object, x, y, height) Pre condition: At (monkey, x), At (object, x), Position (monkey, height), Position (object, height) Effects: ¬ (monkey, x), ¬At (object, x), At (monkey, y), At(object, y) c) Climb up (object, y) Precondition: At (monkey, x), At (object, x), Position (monkey, low), Position (object, low) Effects: ¬Position (monkey, low), Position (monkey, high), On (monkey, object) 31 August 2015 6
  • 7. d) Climb down (object) Preconditions: Position (monkey, high), On (monkey, object) Effects: ¬Position (monkey, high), ¬ On (monkey, object) Position: (monkey, low) e) Grasp (object, x, height) Preconditions: At (monkey, x), At (object, x), Position (monkey, height), Position (object, height) Effect: Hold (object) f) UnGrasp (object, x, height) Preconditions: Hold (object), At (monkey, x), At (object, x), Position (monkey, height), Position (object, height) Effects: ¬Hold (object) 31 August 2015 7
  • 8. Solution • So the solution to the planning problem may be of following steps 1. GO(A,C) 2. PUSH (Box, C, B, Low) 3. Climb Up(Box , B) 4. Grasp(banana, B, High) 5. Climb down(Box) 6. Push(Box, B, C, Low) 31 August 2015 8