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 been done also some more times: just do a search on Perl genetic algorithms, and you'll find references, for instance, in Perlmonks... Opeal is an open source project, so any suggestions and/or improvements are also welcome, of course... J Ala Qumsieh wrote: > Hi all, > > Recently, I started reading about GAs, and thought that the best way to > learn is to actually write a Perl module, and play around with it. > > The module is attached to this email. Please bear in mind that I am new > to this area, so the module is still in early alpha mode. There is a > test.pl script included which shows how to use the module. Also, the > module is documented in POD, so run perldoc on it to get more info. > > For lack of a better name, I called it AI::Genetic, but I'm open to > change if someone has a better suggestion. Of course, any other > suggestions/flames/improvements are more than welcome :) > > Enjoy, > Ala > -- PPSN2002 => http://ppsn2002.ugr.es Home => http://geneura.ugr.es/~jmerelo Tutorial Perl => http://granavenida.com/perl
