Juan J. Merelo writes:
> Sorry to disappoint you, but it's been done already: it's > provisionally > called OPEAL, it's at opeal.sourceforge.net, and, yes, it > will be called > AI::Genetic or Algorithm::Genetic in the future, when it's finally > CPANified and uploaded. It's ok, I'm not disappointed :) My main reason for coding the module is for learning. I think I will learn more by coding and trying to figure out why my module behaves the way it is, than by simply reading about the subject or running some one else's code. In fact, I did learn already the significance of mutation in diversifying the genetic population by turning mutation on and off and analyzing the results. And, in the spirit of Perl itself, I feel compelled to offer anything I write back to the Perl community regardless of whether something else (perhaps much better) exists or not. After all, TMTOWTDI :) > It's been done also some more times: just do a search on Perl genetic > algorithms, and you'll find references, for instance, in Perlmonks... Yes, I did a quick search before, and all I find where programs that utilize genetic algorithms to do certain tasks. I didn't find any generic modules to do the job. Nor did I find anything on CPAN. > Opeal is an open source project, so any suggestions and/or > improvements > are also welcome, of course... Great. I'll have a look at it once my experience in this field grows a bit more. Perhaps I can contribute code/ideas to your module. --Ala