806Re: [aima-talk] Re: Need help with the pseudocode in this book.
- Jan 1, 2008I still think that you would find Norvig's book is written in a style that shows youalgorithms stripped to their essence, yet they are fully executable code.You would soon learn how close Lisp is to the *ideas*.The way he defines and then builds on tree-search could hardly be anymore elegant. His page 191 shows the arguments are: states, goal-p,successors, and combiner. The latter three are functions passed asarguments. Successors is simply a list.It's nine lines of code plus two lines of comments,plus the variety of search strategies he presents in the rest of Sec. 6.4,all built on tree-search by using appropriate variants of the three functions.- Bob FutrelleOn Jan 1, 2008, at 9:27 AM, Michael B. Enders wrote:
- << Previous post in topic Next post in topic >>