Skip to main content
Log in

The mathematical modeling of heuristics

  • Published:
Annals of Mathematics and Artificial Intelligence Aims and scope Submit manuscript

Abstract

Two models of heuristics have been suggested in previous studies of A* tree-searching. The models are used to determine what mathematical properties heuristics must have if A* is to have polynomial, versus exponential, average asymptotic time complexity. In the EC model polynomial A* complexity is associated with logarithmic heuristic error. In the NC model it is associated with a concentration ofh-values near a rapidly growing central function; logarithmic clustering is adequate but more deviation is allowed if the central function grows fast enough.

This paper introduces a third model based on approximating heuristic values with normally distributed random variables — the ND model. The ND model predicts polynomial A* complexity when the mean ofh-values is rapidly growing and variance is logarithmic. The three models are compared. They are tested by attempting to explain the success of weighting heuristics to reduce A* complexity. The EC model is found inadequate; the NC and ND models reveal situations in which weighting changes time complexity from exponential to polynomial. These results are largely corroborated by statistical data from a particular problem domain.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. A. Bagchi and A. Sen, Heuristic search in general tree structures: an average case analysis,Proc. 14th Annual ACM Computer Science Conf. (1986) pp. 309–318.

  2. A. Bagchi and A. Sen, Average-case analysis of heuristic search in tree-like networks, in:Search in Artificial Intelligence, eds. L. Kanal and V. Kumar (Springer, New York, 1988) pp. 131–165.

    Google Scholar 

  3. A. Bramanti-Gregor and H.W. Davis, Learning admissible heuristics while solving problems,Proc. 12th Int. Joint Conf. on Artificial Intelligence (1991) pp. 184–189.

  4. G. Brassard and P. Bratley,Algorithmcs: Theory and Practice (Prentice-Hall, 1988).

  5. X. Chen, Generating and transforming heuristic functions to get desired properties, Master's Thesis, Wright State University, Department of Computer Science and Engineering (1989).

  6. S.V. Chenoweth and H.W. Davis, New approaches for understanding the asymptotic complexity of A* tree searching, Ann. Math. Art. Int. 5 (1992), this issue.

  7. J. Christensen and R.E. Korf, A united theory of heuristic evaluation functions and its application to learning,Proc. AAAI (1986) pp. 148–152.

  8. A.J. Cotterman, An empirical study in the modeling of heuristic error behavior, Master's Thesis, Wright State University, Department of Computer Science and Engineering, Dayton, OH (1987).

    Google Scholar 

  9. H. Davis, A. Bramanti-Gregor and J. Wang, The advantage of using depth and breadth components in heuristic search, in:Methodologies for Intelligent Systems 3, eds. Z.W. Raz and L. Saitta (Elsevier Science, 1988) pp. 19–28.

  10. J. Gaschnig, Performance measurement and analysis of certain search algorithms, Ph.D. Dissertation, Carnegie-Mellon University (1979).

  11. M.R. Gary and D.S. Johnson,Computers and Intractability, a Guide to the Theory of NP-Completeness (W.H. Freeman, New York, 1979).

    Google Scholar 

  12. S.R. Hansen, An empirical study in the simulation of heuristic error behavior, Master's Thesis, Wright State University, Department of Computer Science and Engineering (1986).

  13. S.F. Hollenbaugh, Performance behavior patterns in A* best-first search, Master's Thesis, Wright State University, Department of Computer Science and Engineering (1986).

  14. N. Huyn, R. Dechter, and J. Pearl, Probabilistic analysis of the complexity of A*, Art. Int. 15 (1980) 241–254.

    Google Scholar 

  15. J. Mostow and A.E. Prieditis, Discovering admissible heuristics by abstracting and optimizing: A transformational approach,Proc. 11th Int. Joint Conf. on Artificial Intelligence (1989) pp. 701–707.

  16. J. Pearl, Knowledge versus search: a quantitative analysis using A*, Art. Int. 20 (1983) 1–13.

    Google Scholar 

  17. J. Pearl,Heuristics: Intelligent Search Strategies for Computer Problem Solving (Addison-Wesley, 1984).

  18. G. Politowski, On the construction of heuristic functions, Ph.D. Thesis, U.C. Santa Cruz (1986).

  19. A.E. Prieditis, Machine discovery of effective admissible heuristics,Proc. 12th Int. Joint Conf. on Artificial Intelligence (1991) pp. 720–725.

  20. D. Ratner and M. Warmuth, Finding a shortest solution for theN X N extension of the 15-puzzle is intractable,Proc. 15th National Conf. on Artificial Intelligence (1986) pp. 168–172.

  21. L. Rendell, A new basis for state-space learning systems and a successful implementation, Art. Int. 20 (1983) 369–392.

    Google Scholar 

  22. V. Rohatgi,An Introduction to Probability Theory and Mathematical Statistics (Wiley, 1976).

  23. C.A. Skipper, An empirical study in heuristic behavior of A* using negative weights, Master's Thesis, Wright State University, Department of Computer Science and Engineering (1988).

  24. N.L. Snyder, Heuristic modeling and weight analysis on the binary tree, Master's Thesis, Wright State University, Department of Computer Science and Engineering (1988).

Download references

Author information

Authors and Affiliations

Authors

Additional information

This research has been partially funded by a grant from NCR Corporation.

This research has been funded by NCR Corporation.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Davis, H.W., Chenoweth, S.V. The mathematical modeling of heuristics. Ann Math Artif Intell 5, 191–227 (1992). https://doi.org/10.1007/BF01543476

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01543476

Keywords

Navigation