A Review On Two Water Jugs Problem Via An Algorithmic Approach
A Review On Two Water Jugs Problem Via An Algorithmic Approach
ABSTRACT
The water jugs problem is a well-known problem in recreational mathematics, problem-solving, artificial
intelligence, computer programming and cognitive psychology. The methods of solutions are usually based on
heuristics or search methods such as breadth first search (BFS) or depth first search (DFS), which could be time
and memory consuming sometimes. The existing methods of solutions are often non-algorithmic in nature. In
this paper, we present an arithmetic approach to solve this problem, which is simple and suitable for manual
calculation or programming language implementation. Analysis of the solution steps involved and some
illustrative examples are provided.
Keywords : Water jugs problem, Artificial Intelligence, Problem solving, Diophantine approach, Extended
Euclidean approach.
V. REFERENCE
[1] S. Abu Naser, “Developing visualization tool for the teaching AI searching algorithms,”
Information Technology Journal, 7(2),
2008, pp. 350–355.
[2] C. J. McDiarmid and J. R. Alfonsin, “Sharing jugs of wine,” Discrete Mathematics, vol. 125,
1994, pp. 279–287.
[3] G. Polya, How to Solve It. NJ: Princeton University Press, 1945.
[4] H.S.M.Coxeter and S.L.Greitzer, Geometry Revisited. Washington D.C.: The Mathematical
Association of America, 1967.
[5] B. Harvey, Computer Science Logo Style: Symbolic Computing (Vol. I), MA: MIT, 1997.
[6] M. K. Colvin, K. Dunbar and J. Grafman, “The effects of frontal lobe lesions on goal