![]() |
Artificial Intelligence |
|
CS 373 01: AI |
Winter 2010 |
Read Chapter 1
Read Chapter 2
(Due: TBA) eliza.pl
Read Chapter 3
(Due: TBA) Search project
Read Section 4.1
Read Sections 5.1-5.3
Read Sections 6.1-6.3
Use the clpfd module to write a program that solves the n-queens problem. The representation should be a list of ints in the range 1..N, where state[i] is the row of the queen in the ith column. Your top-level predicate should be:
n_queens(+N, -Solution)
Read Sections 7.1-7.5