On 28 Feb 2010, at 20:38, Lee Spector wrote:
that just published a special issue on parallel evolutionary algorithms, so I know of a lot of options there! -- but for now I just want the basic generational algorithm to be expressed as naturally as possible in Clojure. There seem to be many other options for how to do this using Clojure's concurrency concepts... Does what I've done seem to be the natural Clojure approach?
To me, yes. Another option would be to store the programs in each generation in a standard vector and run the evaluation and breeding functions in a (future ...). Compared to agents, you would gain the advantage of controlling the number of threads being used, so you could optimize for performance. On the downside, you pretty much have to define the number of threads yourself as well, so you might lose in simplicity and clarity.
On the development environment front: Is anyone contemplating creating a Mac OS X "Clojure in a Box"? I would be an enthusiastic user. If it could have roughly the feature set of the old Macintosh Common Lisp IDE
If that's MCLIDE you are talking about, a version with partial Clojure support has just been announced:
http://mclide.in-progress.com/ Konrad. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en