CS 224 Lab 6 - Problem Search Spaces


  • Solve hard problems that require searches
    1.  Login to your account on phoenix. Copy the file eightqueens2.pl from ~jillz/cs224 and test out eightqueens(X).  Be sure to generate all the solutions.



      Complete exercise 5 on p 490 of the text.  This will involve modifications to generate a list from 1 to N rather than just 1 to 8 and then minor adjustments for this change.



    Complete exercise 9a on p491 of the text.  You will want to use the subseq predicate developed on p480. 

    Extra credit:  exercise 9b.