×

Improving the efficiency of depth-first search by cycle elimination. (English) Zbl 0795.68173

Summary: An experimental evaluation of a technique for improving the efficiency of depth-first search on graphs is presented. The technique, referred to as cycle checking, prevents the generation of duplicate nodes in the depth- first search of a graph by comparing each newly generated node to the nodes already on the search path. Although cycle checking can be applied to any depth-first type search, this paper focuses on its effect with the heuristic depth-first iterative deepening algorithm \(\text{IDA}^*\). Two types of cycle checking are compared, full cycle checking and parent cycle checking. Full cycle checking compares a new node to all nodes on the search path. Parent cycles checking merely compares a new node to the parent of the node being expanded. Both types of cycles checking are shown to improve the efficiency of \(\text{IDA}^*\) search in a grid search problem and a route planning problem. Simple guidelines are presented showing which types of cycle checking should be used on a given problem.

MSC:

68T20 Problem solving in the context of artificial intelligence (heuristics, search strategies, etc.)
Full Text: DOI

References:

[1] Dowdy, S.; Wearden, S., Statistics for Research (1983), John Wiley & Sons: John Wiley & Sons New York
[2] Erratum. Erratum, Artificial Intelligence, 28, 123 (1986) · Zbl 0573.68030
[3] A. Mahanti, S. Ghosh, D.S. Nau, A.K. Pal and L. Kanal, Performance of \(IDA^∗\)Proc. Tenth National Conf. on Artificial Intelligence, AAAI-92; A. Mahanti, S. Ghosh, D.S. Nau, A.K. Pal and L. Kanal, Performance of \(IDA^∗\)Proc. Tenth National Conf. on Artificial Intelligence, AAAI-92 · Zbl 0887.68018
[4] Pearl, J., Heuristics (1984), Addison-Wesley: Addison-Wesley Reading, MA
[5] A. Sen and A. Bagchi, Fast recursive formulations for best-first search that allow controlled use of memory, in Proc. 11th Internat. Joint Conf. of Artificiall Intelligence, IJCAI-89.pp. 297-302.; A. Sen and A. Bagchi, Fast recursive formulations for best-first search that allow controlled use of memory, in Proc. 11th Internat. Joint Conf. of Artificiall Intelligence, IJCAI-89.pp. 297-302. · Zbl 0707.68077
[6] Taylor, L. A.; Korf, R. E., Pruning duplicate nodes in depth-first search, (Tech. Rept., Computer Science (1992), University of California: University of California Los Angeles)
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. In some cases that data have been complemented/enhanced by data from zbMATH Open. This attempts to reflect the references listed in the original paper as accurately as possible without claiming completeness or a perfect matching.