Hi,
I have written a procedure that generates successor states of the
8-puzzle. It works fine, but when there are more than 2 successor
states, pop-11 prints the result in the output.p window (which I didn't
want) and places the result in a vector (also what I didn't want). Below
is a typical example (Note: the numbers here are not important):
** {[[[1 0 3 4 2 5 6 7 8]
[1 2 3 0 4 5 6 7 8]
[1 2 3 4 5 0 6 7 8]
[1 2 3 4 7 5 6 0 8]]]}
How can I stop this? I didn't want to waste space and time posting the
whole procedure (about 80 lines), but why does it do this?
Any help will be gratefully recieved.
Yours,
Dave Reece (1st year, CS&AI)
|