Personally, I think I prefer using globals over using local functions (the way graphSearch does).
(And, if you want to parameterize that, it's easy enough to use a locale to override whatever you need.) It's easier for me to create and run ad-hoc tests when references exist "globally". -- Raul On Tue, Nov 22, 2011 at 8:49 AM, David Ward Lambert <[email protected]>wrote: > http://www.jsoftware.com/jwiki/MidTermAstarSearch > > Implementation improves understanding. > A* search is a minor addition to my earlier graph search codes. > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
