(This page contains course notes for Artificial Intelligence taught in the Autumn of 2019. If you have come here from a search engine or the like, you may wish to visit the course home page for more material, or visit my home page for possibly more up to date versions.)

State Space Search.

  • Algorithm evaluation criteria:
  • Brute-force Search
  • Breadth-first Search
  • Criteria analysis of BFS
  • Given a branching factor of 10, 100,000 nodes/second, 100 bytes/node
    Depth Number of Nodes Time Memory
    0 1 .00001 seconds 100 bytes
    2 111 .001 seconds 10 K
    4 11,111 .11 seconds 1 M
    6 10^6 10 seconds 111 M
    8 10^8 17 minutes 11 G
    10 10^10 28 hours 1 terabyte
    12 10^12 116 days 111 terabytes
    14 10^14 32 years 11 petabytes
    What does this tell us?  If the problem is big enough, then time can be a serious contstraint, BUT using BFS, the real problem is memory.  I commonly have problems that take an hour or 2 to run, but 11 G of RAM  is hard to come by.  Serious problems are often worth waiting a week or 2 to run, but where are you going to get a terabyte?  And there are only of depth 10.