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. 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. Copyright © 2013 International Association of Engineers.
|Title of host publication||World Congress on Engineering: WCE 2013: 3-5 July, 2013, Imperial College London, London, U.K.|
|Editors||S. I. AO, Len GELMAN, David W. L. HUKINS, Andrew HUNTER, A. M. KORSUNSKY|
|Place of Publication||Hong Kong|
|Publication status||Published - 2013|
CitationMan, Y.-K. (2013). An arithmetic approach to the general two water jugs problem. In S. I. Ao, L. Gelman, D. W. L. Hukins, A. Hunter, A. M. Korsunsky (Eds.), World Congress on Engineering: WCE 2013: 3-5 July, 2013, Imperial College London, London, U.K. (Vol. 1, pp. 145-147). Hong Kong: Newswood Limited.
- Water jugs problem
- Arithmetic approach
- Artificial intelligence