A Water Jug Problem: You are given two jugs, a 4-gallon one and a 3-gallon one, a pump which has unlimited water which you can use to fill the jug, and the ground on which water may be poured. Neither jug has any measuring markings on it. How can you get exactly 2 gallons of water in the 4-gallon jug (i) Write down the production rules for the above problem ii) Write any one solution to the above problem


The solution is given below :-



Share to whatsapp

More Questions from Artificial Intelligence Module 0

Construct Decision trees to represent the following Boolean functions, (i) A and B (ii) A or [B and C]
View
List out the steps of Candidate Elimination Algorithm. Apply the algorithm to obtain the final version space for the training example.
View
Outline the ID3 Decision Tree Learning method.
View
A Water Jug Problem: You are given two jugs, a 4-gallon one and a 3-gallon one, a pump which has unlimited water which you can use to fill the jug, and the ground on which water may be poured. Neither jug has any measuring markings on it. How can you get exactly 2 gallons of water in the 4-gallon jug (i) Write down the production rules for the above problem ii) Write any one solution to the above problem
View

What is AI and how is it being used in different industries?


View
Describe the issues of Knowledge Representation.
View
Recall Concept Learning and also Explain hypothesis space of Find-S.
View