Production statement: We have two jug of capacity 5L and 3L and a tap will an endless supply of water. The objective is to obtain 4 L exactly in the 5L jug with the minimum steps possible. Production system: Fill the 5L jug from the top Empty the 5L jug Fill the 3L jug from the top Empty the 3L jug Empty the 3L to 5L Empty the 5L to 3L Pour water from 3L to 5L Pour water from 5L to 3L but do not empty Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5
Production system or production rule system is a computer program typically used to provide some form of artificial intelligence, which consists primarily of a set of rules about behavior but it also includes the mechanism necessary to follow those rules as the system responds to states of the world. Components of Production System The major components of Production System in Artificial Intelligence are: Global Database: The global database is the central data structure used by the production system in Artificial Intelligence. Set of Production Rules: The production rules operate on the global database. Each rule usually has a precondition that is either satisfied or not by the global database. If the precondition is satisfied, the rule is usually be applied. The application of the rule changes the database. A Control System: The control system then chooses which applicable rule should be applied and ceases computation when a termination condition on the database is satisfied. If multiple rules are to fire at the same time, the control system resolves the conflicts.
Example of a production system: water jug problem Problem: we have two jugs of capacity 5l and 3l ( liter), and the tap with endless supply of water. The objective is to optain 4 liter exactly in the 5l jug with the minimum steps possible. Production system: Fill the 5l jug from tap Empty the 5l jug Fill the 3l jug from tap Empty the 3 liter jug Empty the 3l jug to 5l Empty the 5l jug to 3l Pour water from 3l to 5l Pour water from 5l to 3l (don't empty) Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5
Raktim kakati Production statement: We have two jug of capacity 5L and 3L and a tap will an endless supply of water. The objective is to obtain 4 L exactly in the 5L jug with the minimum steps possible. Production system: Fill the 5L jug from the top Empty the 5L jug Fill the 3L jug from the top Empty the 3L jug Empty the 3L to 5L Empty the 5L to 3L Pour water from 3L to 5L Pour water from 5L to 3L but do not empty Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5
Production System in Artificial Intelligence: Example Problem Statement: We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible. Production System: Fill the 5 liter jug from tap Empty the 5 liter jug Fill the 3 liter jug from tap Empty the 3 liter jug Then, empty the 3 liter jug to 5 liter Empty the 5 liter jug to 3 liter Pour water from 3 liters to 5 liter Pour water from 5 liters to 3 liters but do not empty Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5; It is possible to have other solutions as well but these are the shortest and the 1st sequence should be chosen as it has the minimum number of steps. With this, we have come to the end of our article on Production System in Artificial Intelligence. I hope you understood what is the production system and how it is used for controlling a global database easily.
So let us Consider a Example from a Service Industry that a software Development Firm or Company. Here initially written program codes are used as input.. These codes are then integrated in some database and are provided with a user friendly interface through a conversion process. And Finally an output is made available in form of an executable application program..
Example of a production system Artificial Intelligence : Problem Statement: We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible. Production System: Fill the 5 liter jug from tap Empty the 5 liter jug Fill the 3 liter jug from tap Empty the 3 liter jug Then, empty the 3 liter jug to 5 liter Empty the 5 liter jug to 3 liter Pour water from 3 liters to 5 liter Pour water from 5 liters to 3 liters but do not empty Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible. Production System: Fill the 5 liter jug from tap Empty the 5 liter jug Fill the 3 liter jug from tap Empty the 3 liter jug Then, empty the 3 liter jug to 5 liter Empty the 5 liter jug to 3 liter Pour water from 3 liters to 5 liter Pour water from 5 liters to 3 liters but do not empty Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Example of Production System in AI- Problem Statement: We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible. Production System: Fill the 5 liter jug from tap Empty the 5 liter jug Fill the 3 liter jug from tap Empty the 3 liter jug Then, empty the 3 liter jug to 5 liter Empty the 5 liter jug to 3 liter Pour water from 3 liters to 5 liter Pour water from 5 liters to 3 liters but do not empty Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5; It is possible to have other solutions as well but these are the shortest and the 1st sequence should be chosen as it has the minimum number of steps.
We have two jugs of capacity 5l and 3l (liter), and a tap with endless supply of water. The objective is to obtain 4 liter exactly in the 5 liter jug with the minimum steps possible PRODUCTION SYSTEM : Fill the 5 liter jug from tap Empty the 5 liter jug Fill the 3 liter jug from tap Empty the 3 liter jug Empty the 3 liter jug to 5 liter Empty the 5 liter jug to 3 liter Pour water from 3 liter to 5 liter Pour water from 5 liter to 3 liter (do not empty) SOLUTION : 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5; there may be other solutions but these are the shortest and the 1st sequence is chosen as it has the min no of steps.
Example of a Production System: Water jug problem. Problem: We have two jugs of capacity 5l and 3l (liter), and a tap with endless supply of water. The objective is to obtain 4 liter exactly in the 5 liter jug with the minimum steps possible Production System: Fill the 5 liter jug from tap Empty the 5 liter jug Fill the 3 liter jug from tap Empty the 3 liter jug Empty the 3 liter jug to 5 liter Empty the 5 liter jug to 3 liter Pour water from 3 liter to 5 liter Pour water from 5 liter to 3 liter (do not empty) Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Example of Production System Fill the 5 liter jug from tap Empty the 5 liter jug Fill the 3 liter jug from tap Empty the 3 liter jug Empty the 3 liter jug to 5 liter Empty the 5 liter jug to 3 liter Pour water from 3 liter to 5 liter Pour water from 5 liter to 3 liter (do not empty) SOLUTION : 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5; there may be other solutions but these are the shortest and the 1st sequence is chosen as it has the min no of steps.
Example of Production System in Artificial Intelligence :- Problem Statement: We have two jugs of capacity 5l and 3l, and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible. Production System: Fill the 5 liter jug from tap. Empty the 5 liter jug. Fill the 3 liter jug from tap. Empty the 3 liter jug. Then, empty the 3 liter jug to 5 liter Empty the 5 liter jug to 3 liter. Pour water from 3 liters to 5 liter. Pour water from 5 liters to 3 liters but do not empty. Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Production System in Artificial Intelligence: Example Problem Statement: We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible. Production System: Fill the 5 liter jug from tap Empty the 5 liter jug Fill the 3 liter jug from tap Empty the 3 liter jug Then, empty the 3 liter jug to 5 liter Empty the 5 liter jug to 3 liter Pour water from 3 liters to 5 liter Pour water from 5 liters to 3 liters but do not empty Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible Answer :- Fill the 5 liter jug from tap Empty the 5 liter jug Fill the 3 liter jug from tap Empty the 3 liter jug Then, empty the 3 liter jug to 5 liter Empty the 5 liter jug to 3 liter Pour water from 3 liters to 5 liter Pour water from 5 liters to 3 liters but do not empty Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible Ans:-Production System: Fill the 5 liter jug from tap Empty the 5 liter jug Fill the 3 liter jug from tap Empty the 3 liter jug Then, empty the 3 liter jug to 5 liter Empty the 5 liter jug to 3 liter Pour water from 3 liters to 5 liter Pour water from 5 liters to 3 liters but do not empty Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Q1. Give an example of Production System in AI = We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible. Production System: Fill the 5 liter jug from tap Empty the 5 liter jug Fill the 3 liter jug from tap Empty the 3 liter jug Then, empty the 3 liter jug to 5 liter Empty the 5 liter jug to 3 liter Pour water from 3 liters to 5 liter Pour water from 5 liters to 3 liters but do not empty Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5
Production System in Artificial Intelligence: Example Problem Statement: We have two jugs of capacity 5l and 31 (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible. Production System: Fill the 5 liter jug from tap Empty the 5 liter jug Fill the 3 liter jug from tap Empty the 3 liter jug Pour water from 3 liters to 5 liter Pour water from 5 liters to 3 liters but do not empty Solution: 1,8,4,6, 1,8 or 35372535
Production System in Artificial Intelligence Example: We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible. Fill the 5 liter jug from tap Empty the 5 liter jug Fill the 3 liter jug from tap Empty the 3 liter jug Then, empty the 3 liter jug to 5 liter Empty the 5 liter jug to 3 liter Pour water from 3 liters to 5 liter Pour water from 5 liters to 3 liters but do not empty Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5; It is possible to have other solutions as well but these are the shortest and the 1st sequence should be chosen as it has the minimum number of steps.
Production system in AI Problem statement : We have 2 jugs of capacity 5l and 3l with a tap of endless supply of water. The objective is to obtain 4l into exactly 5l of jug with minimum steps possible. Production system : Fill the 5l jug from the tap Empty the 5l jug Fill the 3l jug from the tap Empty 3l jug Pour water from 3l to 5l Pour water from 5l to 3l but do not empty. Solution : 1,8,4,6,1,8 or 35372535
We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible Answer :- Fill the 5 liter jug from tap Empty the 5 liter jug Fill the 3 liter jug from tap Empty the 3 liter jug Then, empty the 3 liter jug to 5 liter Empty the 5 liter jug to 3 liter Pour water from 3 liters to 5 liter Pour water from 5 liters to 3 liters but do not empty Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Production System in Artificial Intelligence: Example Problem Statement: We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible. Production System: Fill the 5 liter jug from tap Empty the 5 liter jug Fill the 3 liter jug from tap Empty the 3 liter jug Then, empty the 3 liter jug to 5 liter Empty the 5 liter jug to 3 liter Pour water from 3 liters to 5 liter Pour water from 5 liters to 3 liters but do not empty Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Production System in Artificial Intelligence: Example Problem Statement: We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible. Production System: Fill the 5 liter jug from tap Empty the 5 liter jug Fill the 3 liter jug from tap Empty the 3 liter jug Then, empty the 3 liter jug to 5 liter Empty the 5 liter jug to 3 liter Pour water from 3 liters to 5 liter Pour water from 5 liters to 3 liters but do not empty Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Production System in Artificial Intelligence: Example Problem Statement: We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible. Production System: Fill the 5 liter jug from tap Empty the 5 liter jug Fill the 3 liter jug from tap Empty the 3 liter jug Then, empty the 3 liter jug to 5 liter Empty the 5 liter jug to 3 liter Pour water from 3 liters to 5 liter Pour water from 5 liters to 3 liters but do not empty Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Production System in Artificial Intelligence: Example Problem Statement: We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible. Production System: Fill the 5 liter jug from tap Empty the 5 liter jug Fill the 3 liter jug from tap Empty the 3 liter jug Then, empty the 3 liter jug to 5 liter Empty the 5 liter jug to 3 liter Pour water from 3 liters to 5 liter Pour water from 5 liters to 3 liters but do not empty Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Production System in Artificial Intelligence: Example Problem Statement: We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible. Production System: Fill the 5 liter jug from tap Empty the 5 liter jug Fill the 3 liter jug from tap Empty the 3 liter jug Then, empty the 3 liter jug to 5 liter Empty the 5 liter jug to 3 liter Pour water from 3 liters to 5 liter Pour water from 5 liters to 3 liters but do not empty Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Production System in Artificial Intelligence: Example Problem Statement: We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible. Production System: Fill the 5 liter jug from tap Empty the 5 liter jug Fill the 3 liter jug from tap Empty the 3 liter jug Then, empty the 3 liter jug to 5 liter Empty the 5 liter jug to 3 liter Pour water from 3 liters to 5 liter Pour water from 5 liters to 3 liters but do not empty Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Production System in Artificial Intelligence: Example Problem Statement: We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible. Production System: Fill the 5 liter jug from tap Empty the 5 liter jug Fill the 3 liter jug from tap Empty the 3 liter jug Then, empty the 3 liter jug to 5 liter Empty the 5 liter jug to 3 liter Pour water from 3 liters to 5 liter Pour water from 5 liters to 3 liters but do not empty Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Production System in Artificial Intelligence: Example Problem Statement: We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible. Production System: Fill the 5 liter jug from tap Empty the 5 liter jug Fill the 3 liter jug from tap Empty the 3 liter jug Then, empty the 3 liter jug to 5 liter Empty the 5 liter jug to 3 liter Pour water from 3 liters to 5 liter Pour water from 5 liters to 3 liters but do not empty Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Production System in Artificial Intelligence: Example Problem Statement: We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible. Production System: Fill the 5 liter jug from tap Empty the 5 liter jug Fill the 3 liter jug from tap Empty the 3 liter jug Then, empty the 3 liter jug to 5 liter Empty the 5 liter jug to 3 liter Pour water from 3 liters to 5 liter Pour water from 5 liters to 3 liters but do not empty Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Production statement:
We have two jug of capacity 5L and 3L and a tap will an endless supply of water. The objective is to obtain 4 L exactly in the 5L jug with the minimum steps possible.
Production system:
Fill the 5L jug from the top
Empty the 5L jug
Fill the 3L jug from the top
Empty the 3L jug
Empty the 3L to 5L
Empty the 5L to 3L
Pour water from 3L to 5L
Pour water from 5L to 3L but do not empty
Solution:
1,8,4,6,1,8 or 3,5,3,7,2,5,3,5
Production system or production rule system is a computer program typically used to provide some form of artificial intelligence, which consists primarily of a set of rules about behavior but it also includes the mechanism necessary to follow those rules as the system responds to states of the world.
Components of Production System
The major components of Production System in Artificial Intelligence are:
Global Database: The global database is the central data structure used by the production system in Artificial Intelligence.
Set of Production Rules: The production rules operate on the global database. Each rule usually has a precondition that is either satisfied or not by the global database. If the precondition is satisfied, the rule is usually be applied. The application of the rule changes the database.
A Control System: The control system then chooses which applicable rule should be applied and ceases computation when a termination condition on the database is satisfied. If multiple rules are to fire at the same time, the control system resolves the conflicts.
Example of a production system: water jug problem
Problem: we have two jugs of capacity 5l and 3l ( liter), and the tap with endless supply of water. The objective is to optain 4 liter exactly in the 5l jug with the minimum steps possible.
Production system:
Fill the 5l jug from tap
Empty the 5l jug
Fill the 3l jug from tap
Empty the 3 liter jug
Empty the 3l jug to 5l
Empty the 5l jug to 3l
Pour water from 3l to 5l
Pour water from 5l to 3l (don't empty)
Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5
Raktim kakati
Production statement:
We have two jug of capacity 5L and 3L and a tap will an endless supply of water. The objective is to obtain 4 L exactly in the 5L jug with the minimum steps possible.
Production system:
Fill the 5L jug from the top
Empty the 5L jug
Fill the 3L jug from the top
Empty the 3L jug
Empty the 3L to 5L
Empty the 5L to 3L
Pour water from 3L to 5L
Pour water from 5L to 3L but do not empty
Solution:
1,8,4,6,1,8 or 3,5,3,7,2,5,3,5
Production System in Artificial Intelligence: Example
Problem Statement:
We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible.
Production System:
Fill the 5 liter jug from tap
Empty the 5 liter jug
Fill the 3 liter jug from tap
Empty the 3 liter jug
Then, empty the 3 liter jug to 5 liter
Empty the 5 liter jug to 3 liter
Pour water from 3 liters to 5 liter
Pour water from 5 liters to 3 liters but do not empty
Solution:
1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
It is possible to have other solutions as well but these are the shortest and the 1st sequence should be chosen as it has the minimum number of steps.
With this, we have come to the end of our article on Production System in Artificial Intelligence. I hope you understood what is the production system and how it is used for controlling a global database easily.
So let us Consider a Example from a Service Industry that a software Development Firm or Company. Here initially written program codes are used as input.. These codes are then integrated in some database and are provided with a user friendly interface through a conversion process. And Finally an output is made available in form of an executable application program..
Example of a production system Artificial Intelligence :
Problem Statement:
We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible.
Production System:
Fill the 5 liter jug from tap
Empty the 5 liter jug
Fill the 3 liter jug from tap
Empty the 3 liter jug
Then, empty the 3 liter jug to 5 liter
Empty the 5 liter jug to 3 liter
Pour water from 3 liters to 5 liter
Pour water from 5 liters to 3 liters but do not empty
Solution:
1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible.
Production System:
Fill the 5 liter jug from tap
Empty the 5 liter jug
Fill the 3 liter jug from tap
Empty the 3 liter jug
Then, empty the 3 liter jug to 5 liter
Empty the 5 liter jug to 3 liter
Pour water from 3 liters to 5 liter
Pour water from 5 liters to 3 liters but do not empty
Solution:
1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Example of Production System in AI-
Problem Statement:
We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible.
Production System:
Fill the 5 liter jug from tap
Empty the 5 liter jug
Fill the 3 liter jug from tap
Empty the 3 liter jug
Then, empty the 3 liter jug to 5 liter
Empty the 5 liter jug to 3 liter
Pour water from 3 liters to 5 liter
Pour water from 5 liters to 3 liters but do not empty
Solution:
1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
It is possible to have other solutions as well but these are the shortest and the 1st sequence should be chosen as it has the minimum number of steps.
We have two jugs of capacity 5l and 3l (liter), and a tap with endless supply of water. The objective is to obtain 4 liter exactly in the 5 liter jug with the minimum steps possible
PRODUCTION SYSTEM :
Fill the 5 liter jug from tap
Empty the 5 liter jug
Fill the 3 liter jug from tap
Empty the 3 liter jug
Empty the 3 liter jug to 5 liter
Empty the 5 liter jug to 3 liter
Pour water from 3 liter to 5 liter
Pour water from 5 liter to 3 liter (do not empty)
SOLUTION : 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5; there may be other solutions but these are the shortest and the 1st sequence is chosen as it has the min no of steps.
Example of a Production System: Water jug problem.
Problem: We have two jugs of capacity 5l and 3l (liter), and a tap with endless supply of water. The objective is to obtain 4 liter exactly in the 5 liter jug with the minimum steps possible
Production System:
Fill the 5 liter jug from tap
Empty the 5 liter jug
Fill the 3 liter jug from tap
Empty the 3 liter jug
Empty the 3 liter jug to 5 liter
Empty the 5 liter jug to 3 liter
Pour water from 3 liter to 5 liter
Pour water from 5 liter to 3 liter (do not empty)
Solution: 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Example of Production System
Fill the 5 liter jug from tap
Empty the 5 liter jug
Fill the 3 liter jug from tap
Empty the 3 liter jug
Empty the 3 liter jug to 5 liter
Empty the 5 liter jug to 3 liter
Pour water from 3 liter to 5 liter
Pour water from 5 liter to 3 liter (do not empty)
SOLUTION : 1,8,4,6,1,8 or 3,5,3,7,2,5,3,5; there may be other solutions but these are the shortest and the 1st sequence is chosen as it has the min no of steps.
Example of Production System in Artificial Intelligence :-
Problem Statement:
We have two jugs of capacity 5l and 3l, and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible.
Production System:
Fill the 5 liter jug from tap.
Empty the 5 liter jug.
Fill the 3 liter jug from tap.
Empty the 3 liter jug.
Then, empty the 3 liter jug to 5 liter
Empty the 5 liter jug to 3 liter.
Pour water from 3 liters to 5 liter.
Pour water from 5 liters to 3 liters but do not empty.
Solution:
1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Production System in Artificial Intelligence: Example
Problem Statement:
We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible.
Production System:
Fill the 5 liter jug from tap
Empty the 5 liter jug
Fill the 3 liter jug from tap
Empty the 3 liter jug
Then, empty the 3 liter jug to 5 liter
Empty the 5 liter jug to 3 liter
Pour water from 3 liters to 5 liter
Pour water from 5 liters to 3 liters but do not empty
Solution:
1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible
Answer :-
Fill the 5 liter jug from tap
Empty the 5 liter jug
Fill the 3 liter jug from tap
Empty the 3 liter jug
Then, empty the 3 liter jug to 5 liter
Empty the 5 liter jug to 3 liter
Pour water from 3 liters to 5 liter
Pour water from 5 liters to 3 liters but do not empty
Solution:
1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible
Ans:-Production System:
Fill the 5 liter jug from tap
Empty the 5 liter jug
Fill the 3 liter jug from tap
Empty the 3 liter jug
Then, empty the 3 liter jug to 5 liter
Empty the 5 liter jug to 3 liter
Pour water from 3 liters to 5 liter
Pour water from 5 liters to 3 liters but do not empty
Solution:
1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Q1. Give an example of Production System in AI
= We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible.
Production System:
Fill the 5 liter jug from tap
Empty the 5 liter jug
Fill the 3 liter jug from tap
Empty the 3 liter jug
Then, empty the 3 liter jug to 5 liter
Empty the 5 liter jug to 3 liter
Pour water from 3 liters to 5 liter
Pour water from 5 liters to 3 liters but do not empty
Solution:
1,8,4,6,1,8 or 3,5,3,7,2,5,3,5
Production System in Artificial Intelligence: Example
Problem Statement: We have two jugs of capacity 5l and 31 (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible. Production System:
Fill the 5 liter jug from tap
Empty the 5 liter jug
Fill the 3 liter jug from tap
Empty the 3 liter jug
Pour water from 3 liters to 5 liter
Pour water from 5 liters to 3 liters but do not empty
Solution:
1,8,4,6, 1,8 or 35372535
Production System in Artificial Intelligence Example:
We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible.
Fill the 5 liter jug from tap
Empty the 5 liter jug
Fill the 3 liter jug from tap
Empty the 3 liter jug
Then, empty the 3 liter jug to 5 liter
Empty the 5 liter jug to 3 liter
Pour water from 3 liters to 5 liter
Pour water from 5 liters to 3 liters but do not empty
Solution:
1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
It is possible to have other solutions as well but these are the shortest and the 1st sequence should be chosen as it has the minimum number of steps.
Production system in AI
Problem statement : We have 2 jugs of capacity 5l and 3l with a tap of endless supply of water. The objective is to obtain 4l into exactly 5l of jug with minimum steps possible.
Production system :
Fill the 5l jug from the tap
Empty the 5l jug
Fill the 3l jug from the tap
Empty 3l jug
Pour water from 3l to 5l
Pour water from 5l to 3l but do not empty.
Solution :
1,8,4,6,1,8 or 35372535
We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible
Answer :-
Fill the 5 liter jug from tap
Empty the 5 liter jug
Fill the 3 liter jug from tap
Empty the 3 liter jug
Then, empty the 3 liter jug to 5 liter
Empty the 5 liter jug to 3 liter
Pour water from 3 liters to 5 liter
Pour water from 5 liters to 3 liters but do not empty
Solution:
1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Production System in Artificial Intelligence: Example
Problem Statement:
We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible.
Production System:
Fill the 5 liter jug from tap
Empty the 5 liter jug
Fill the 3 liter jug from tap
Empty the 3 liter jug
Then, empty the 3 liter jug to 5 liter
Empty the 5 liter jug to 3 liter
Pour water from 3 liters to 5 liter
Pour water from 5 liters to 3 liters but do not empty
Solution:
1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Production System in Artificial Intelligence: Example
Problem Statement:
We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible.
Production System:
Fill the 5 liter jug from tap
Empty the 5 liter jug
Fill the 3 liter jug from tap
Empty the 3 liter jug
Then, empty the 3 liter jug to 5 liter
Empty the 5 liter jug to 3 liter
Pour water from 3 liters to 5 liter
Pour water from 5 liters to 3 liters but do not empty
Solution:
1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Production System in Artificial Intelligence: Example
Problem Statement:
We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible.
Production System:
Fill the 5 liter jug from tap
Empty the 5 liter jug
Fill the 3 liter jug from tap
Empty the 3 liter jug
Then, empty the 3 liter jug to 5 liter
Empty the 5 liter jug to 3 liter
Pour water from 3 liters to 5 liter
Pour water from 5 liters to 3 liters but do not empty
Solution:
1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Production System in Artificial Intelligence: Example
Problem Statement:
We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible.
Production System:
Fill the 5 liter jug from tap
Empty the 5 liter jug
Fill the 3 liter jug from tap
Empty the 3 liter jug
Then, empty the 3 liter jug to 5 liter
Empty the 5 liter jug to 3 liter
Pour water from 3 liters to 5 liter
Pour water from 5 liters to 3 liters but do not empty
Solution:
1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Production System in Artificial Intelligence: Example
Problem Statement:
We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible.
Production System:
Fill the 5 liter jug from tap
Empty the 5 liter jug
Fill the 3 liter jug from tap
Empty the 3 liter jug
Then, empty the 3 liter jug to 5 liter
Empty the 5 liter jug to 3 liter
Pour water from 3 liters to 5 liter
Pour water from 5 liters to 3 liters but do not empty
Solution:
1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Production System in Artificial Intelligence: Example
Problem Statement:
We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible.
Production System:
Fill the 5 liter jug from tap
Empty the 5 liter jug
Fill the 3 liter jug from tap
Empty the 3 liter jug
Then, empty the 3 liter jug to 5 liter
Empty the 5 liter jug to 3 liter
Pour water from 3 liters to 5 liter
Pour water from 5 liters to 3 liters but do not empty
Solution:
1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Production System in Artificial Intelligence: Example
Problem Statement:
We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible.
Production System:
Fill the 5 liter jug from tap
Empty the 5 liter jug
Fill the 3 liter jug from tap
Empty the 3 liter jug
Then, empty the 3 liter jug to 5 liter
Empty the 5 liter jug to 3 liter
Pour water from 3 liters to 5 liter
Pour water from 5 liters to 3 liters but do not empty
Solution:
1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Production System in Artificial Intelligence: Example
Problem Statement:
We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible.
Production System:
Fill the 5 liter jug from tap
Empty the 5 liter jug
Fill the 3 liter jug from tap
Empty the 3 liter jug
Then, empty the 3 liter jug to 5 liter
Empty the 5 liter jug to 3 liter
Pour water from 3 liters to 5 liter
Pour water from 5 liters to 3 liters but do not empty
Solution:
1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;
Production System in Artificial Intelligence:
Example
Problem Statement:
We have two jugs of capacity 5l and 3l (liter), and a tap with an endless supply of water. The objective is to obtain 4 liters exactly in the 5-liter jug with the minimum steps possible.
Production System: Fill the 5 liter jug from tap Empty the 5 liter jug Fill the 3 liter jug from tap Empty the 3 liter jug Then, empty the 3 liter jug to 5 liter Empty the 5 liter jug to 3 liter Pour water from 3 liters to 5 liter Pour water from 5 liters to 3 liters but do not empty
Solution:
1,8,4,6,1,8 or 3,5,3,7,2,5,3,5;