Proceedings

Optimizing Backtrack Search for all Solutions to Conjunctive Problems

Download BibTeX Cite

Proceedings of the Tenth International Joint Conference on Artificial Intelligence. Reasoning. Pages 955-957.

© 1987 International Joint Conferences on Artificial Intelligence

Abstract

We consider the problem of minimizing depth-first search effort for the generation of all solutions to a problem stated as a conjunction of subproblems. For a sequence of subproblems that share no variables, the effort is minimized by ordering the subproblems in decreasing ratio of NC/(N- 1), where Nand Care the number of solutions and the search effort of obtaining a solution to the subproblem. If a conjunctive problem has an arbitrary number of subproblems sharing variables among them, we assume that in the solution sets of the subproblems, each argument variable is bound to elements of its domain with equal frequency. Under this uniform distribution assumption, we derive a set of necessary conditions that must be satisfied by an optimal depth-first sequence. If the distribution assumption does not hold for a conjunctive problem, then the search effort can be optimized only if the sequencing of subproblems is suitably interleaved with the actual enumeration of solutions to the problem.

  1. D. H. D. Warren, "Efficient Processing of Interac- tive Relational Database Queries Expressed in Logic", Proc. • of 7th VLDB Conference, Cannes (September 1981), pp. 272-281.
  2. D. E. Smith, "Controlling Inference" , Ph.D. Disser- tation , Stanford University, Stanford, CA 1985.
  3. D. E. Smith and M. R. Genesereth, "Ordering Conjunctive Queries", Artificial Intelligence, June 1985.
  4. K. S. Natarajan, "On optimizing backtrack search for all solutions to conjunctive problems" , IBM Re- sean:h Report 11982, June 1986.
  5. J. R. Bitner and E. M. Reingold, "Backtrack Pro- gramming Techniques", Comm. ACM, Nov. 1975, pp. 651-656.

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

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