Assignment 4

For more information on crossword puzzles, see the page for the Duke University course on AI and crosswords. Or you can read Ginsberg's paper on search and crosswords.

  1. AIMA 4.3 (Crossword puzzles)
  2. AIMA 4.17 Comparing search algorithms

    The hard part here was not running the algorithms, but analyzing the results. You could run the code with:
    (compare-search-algorithms
       #'8-puzzle-problem
       '(A*-search SMA*-search IDA*-search))
    
    We would expect that IDA* would do well on the 8-puzzle and poorly on TSP, because the solutions have real-valued, distinct costs and so IDA* adds only node per iteration. IDA* will perform poorly on the puzzle when a small (< 1) random number is added to the heuristic values.