Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Newbie question

1 view
Skip to first unread message

Kirit Patel

unread,
Oct 18, 1999, 3:00:00 AM10/18/99
to
Hi, I am very new to lisp and i am trying to figure out what i am doing
wrong. Hopefully some one out there can help with me with this.
I am writting a program that will take a farmer,a wolf,a goat,and a
cabbage across a river. This program is currently using a breadth first
search. I think there might be something wrong in my BFS function,it
seems to return nil instead of actually running through the search tree.
I hope that someone with more talent then me can spot this error.

the command line argument i am using to start the program is:
(bfs '((f w g c right 0 0 0 0)) () '(0 0 0 0 left f w g c) 'gs)
By using this command my program should return all the states that it
took to get from the start state to the goal.

Thanking you for any help in advance.

Kirit Patel
Please mail me at pate...@cse.msu.edu if you can spot my mistake.


proj4.lisp
0 new messages