Proceedings

Comparing Search Algorithms Using Sorting and Hashing on Disk and in Memory

Download BibTeX Cite

Proceedings of the Twenty-Fifth International Joint Conference on Artificial Intelligence. Pages 610-615.

© 2016 International Joint Conferences on Artificial Intelligence

Abstract

We compare sorting and hashing for implicit graph search using disk storage. We first describe efficient pipelined implementations of both algorithms, which reduce disk I/O. We then compare the two algorithms and find that hashing is faster, but that sorting requires less disk storage. We also compare disk-based with in-memory search, and surprisingly find that there is little or no time overhead associated with disk-based search. We present experimental results on the sliding-tile puzzles, Rubik's Cube, and the 4-peg Towers of Hanoi.

  1. [Ajwani, Demetiev, and Meyer, 2006] Ajwani, D.; Demetiev, R.; and Meyer, U. 2006. A computa- tional study of external-memory bfs algorithms. In Proceedings of the Symposium on Discrete Algorithms (SODA), 601-610.
  2. [Edelkamp and Schroedl, 2012] Edelkamp, S., and Schroedl, S. 2012. Heuristic Search: Theory and Applications. Morgan Kaufmann.
  3. [Hart, Nilsson, and Raphael, 1968] Hart, P.; Nilsson, N.; and Raphael, B. 1968. A formal basis for the heuristic deter- mination of minimum cost paths. IEEE Transactions on Systems Science and Cybernetics SSC-4(2):100-107.
  4. [Jabbar, 2008] Jabbar, S. 2008. External Memory Algorithms for State Space Exploration in Model Checking and Plan- ning. Ph.D. Dissertation, University of Dortmund, Dort- mund, Germany.
  5. [Korf and Schultze, 2005] Korf, R., and Schultze, P. 2005. Large-scale, parallel breadth-first search. In Proceed- ings of the National Conference on Artificial Intelligence (AAAI-2005), 1380-1385.
  6. [Korf et al., 2005] Korf, R.; Zhang, W.; Thayer, I.; and Ho- hwald, H. 2005. Frontier search. J.A.C.M. 52(5):715-748.
  7. [Korf, 2004] Korf, R. 2004. Best-first frontier search with delayed duplicate detection. In Proceedings of the Na- tional Conference on Artificial Intelligence (AAAI-2004), 650-657.
  8. [Korf, 2008a] Korf, R. 2008a. Linear-time disk-based im- plicit graph search. J.A.C.M. 55(6):26-1 to 26-40.
  9. [Korf, 2008b] Korf, R. 2008b. Minimizing disk i/o in two-bit breadth-first search. In Proceedings of the Nationsl Con- ference on Artificial Intelligence (AAAI-2008).
  10. [Kunkle and Cooperman, 2007] Kunkle, D., and Cooper- man, G. 2007. Twenty-six moves suffice for rubik's cube. In Proceedings of the International Symposium on Sym- bolic and Algebraic Computation (ISSAC-07), 235-242.
  11. [Robinson, Kunkle, and Cooperman, 2007] Robinson, E.; Kunkle, D.; and Cooperman, G. 2007. A comparative analysis of parallel disk-based methods for enumerating implicit graphs. In Proceedings of the 2007 Interna- tional Workshop on Parallel Symbolic Computation (PASCO-07), 78-87.
  12. [Sturtevant and Rutherford, 2013] Sturtevant, N., and Rutherford, M. 2013. Minimizing writes in parallel exter- nal memory search. In Proceedings of the International Joint Conference on Artificial Intelligence (IJCAI-2013), 666-673. IJCAI
  13. [Zhou and Hansen, 2004] Zhou, R., and Hansen, E. 2004. Structured duplicate detection in external-memory graph search. In Proceedings of the National Conference on Ar- tificial Intelligence (AAAI-2004), 683-688.
  14. [Zhou and Hansen, 2006a] Zhou, R., and Hansen, E. 2006a. Breadth-first heuristic search. Artificial Intelligence 170(4-5):385-408.
  15. [Zhou and Hansen, 2006b] Zhou, R., and Hansen, E. 2006b. Domain-independent structured duplicate detection. In Proceedings of the National Conference on Artificial In- telligence (AAAI-2006), 1082-1087.
  16. [Zhou and Hansen, 2007a] Zhou, R., and Hansen, E. 2007a. Edge partitioning in external-memory graph search. In Proceedings of the International Joint Conference on Ar- tificial Intelligence (IJCAI-07), 2410-2416.
  17. [Zhou and Hansen, 2007b] Zhou, R., and Hansen, E. 2007b. Parallel structured duplicate detection. In Proceedings of the National Conference on Artificial Intelligence (AAAI- 2007), 1217-1223.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards