Common LISP, EVAL undefined function STATE
Disclaimer: LISP noobs foerste program. (GNU CLISP)De 2 filer i brug findes her:
http://www.pgatour99.com/uninformed-search.lisp
http://www.pgatour99.com/missionaries-and-cannibals.lisp
Vi goer saaledes:
>(load *uninformed-search.lisp*)
>(load *missionaries-and-cannibals.lisp*)
>(breadth-first-search *start-state* *mc-operators*)
og faar denne besked:
Exploring #S(NODE :STATE (3 3 0 0 E) :PATH NIL)
*** - EVAL: undefined function STATE
The following restarts are available:
USE-VALUE :R1 You may input a value to be used instead of (FDEFINITION 'STATE).
Vi har gransket koden flere gange, men uden held :(
Nogen forslag?
