Closed PeterDrake closed 6 years ago
same issue. Please make NQueensProblem or NQueensCSP work with astar_search, forward_checking, etc.
The fix should be to make the NQueensProblem
produce tuples, not to make search
coerce states to tuples.
I completely forgot about this issue until now. I assign myself the task of fixing this problem and rewriting the notebook section of NQueensProblem.
If I
import search
and thenI get:
In order to work with the various search algorithms, the states have to be tuples, not mutable lists.