, Volume 12, Issue 6, pp 458–475 | Cite as

Heuristic sampling on DAGs

  • Pang -Chieh Chen


In theory, many problems in computer applications can be solved by searching through a directed-acyclic graph (DAG). In practice, however, this approach has been hampered by our analytical inability to predict the search cost accurately without actually implementing and executing the program. To overcome this inability, a simple and quick heuristic procedure based on a stratified sampling approach is presented. It generalizes a tree sampling technique already shown to be useful in predicting the performance of tree-searching programs. With the addition of this DAG sampling procedure, we should be able to forecast the complexity and feasibility of alternative tree or DAG searching algorithms so that we may utilize our computational resources more effectively.

Key words

Heuristics Sampling Cost prediction Monte-Carlo method Analysis of algorithms 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. [1]
    P. C. Chen, Heuristic Sampling on Backtrack Trees, Ph.D. thesis, Stanford University, 1989.Google Scholar
  2. [2]
    P. C. Chen, Heuristic Sampling: A Method for Predicting the Performance of Tree-Searching Programs,SIAM Journal on Computing, 21:295–315, 1992.Google Scholar
  3. [3]
    L. S. Homem de Mello and A. C. Sanderson, Automatic Generation of Mechanical Assembly Sequences, Technical Report CMU-RI-TR-88-19, Carnegie Mellon University, 1988.Google Scholar
  4. [4]
    S. Karlin and H. M. Taylor,A First Course in Stochastic Processes, 2nd edn., Academic Press, New York, 1975.Google Scholar
  5. [5]
    D. E. Knuth, Estimating the Efficiency of Backtrack Programs,Mathematics of Computation, 29:121–136, 1975.Google Scholar
  6. [6]
    N. J. Nilsson,Principles of Artificial Intelligence, Tioga, Palo Alto, CA, 1980.Google Scholar
  7. [7]
    J. Pearl,Heuristics: Intelligent Search Strategies for Computer Problem Solving, Addison-Wesley, Reading, MA, 1984.Google Scholar
  8. [8]
    L. G. Valiant, The Complexity of Enumeration and Reliability Problems,SIAM Journal on Computing, 8:410–421, 1979.Google Scholar

Copyright information

© Springer-Verlag New York Inc 1994

Authors and Affiliations

  • Pang -Chieh Chen
    • 1
  1. 1.Sandia National LaboratoriesAlbuquerqueUSA

Personalised recommendations