![]() ![]() It is more flexible than the traditional method because it can solve problems that are constrained by a limited supply from the reservoir. This approach is simpler than the traditional method because there are only two actions. Rather than filling and spilling from an infinite water resource, we conserve a finite initial charge with a third jug: (reservoir). This program implements an environmentally responsible solution to the water jugs problem. Knight, Artificial Intelligence, 2nd edition, McGraw-Hill, 1991 How can you get exactly 2 gallons of water into the 4-gallon jug?”.Į. ![]() There is a tap that can be used to fill the jugs with water. “You are given two jugs, a 4-gallon one and a 3-gallon one. This classic AI problem is described in Artificial Intelligence as follows:
0 Comments
Leave a Reply. |