In the water jug problem in Artificial Intelligence, provided two jugs: one having the capacity to hold 3 gallons of water and the other has the capacity to hold 4 gallons of water. There is no other ...
A Prolog program to address the following problem: Water jug is a classical formal problem and is generally stated as below. Suppose that you have two jugs with no measure markings: 4-gallon jug (Jug ...