Dear Monks,
having searched the CPAN for 'genetic' and having found nothing
of interest, I decided to start this from the scratch.
As a matter of fact I have never before last thursday written an own
package/module and am thus quite a newbie to this subject.
I consider it sensible to have The Monks have a look at my module before
I get into submitting it to CPAN and TheWorld(tm). It would be very kind if you could point
me where I do things

wrong

unefficiently

other than common praxis

And please keep in mind that this is my first package and POD-writing and so on ;-)
Thanks!

The Main Generalization Modell

... is to use a population of individuals that
are represented as an array of allowed tokens. The user has to provide
a list of tokens and the fitness function. This way the user can have
many different representations: Strings are easy, floats would be binary coded (like
in classical genetic algorithm) and rules can be coded as chars or the like...

Documentation

I have tried to write POD and pod2man produces an output that seems to be a
manpage without any error.
I setup a website for all my software at

There is the AI::Gene::Sequence (which also comes with AI::Gene::Simple) which provides a framework for storing, checking and mutating sequences of tokens. This is set up as a base class so that it can be well mapped onto any "problem" set by inheriting the mutation methods while providing your own set of fitness, creation and output methods.

I'll come clean and admit that I wrote it, but it is there, you can find my email from within the module and I'd be glad to hear from you.

Had you noticed Genetic Programming or breeding Perls on the Best Nodes page?
It might be a good one to compare your code to. Some neat
stuff in there too. You get my last ++ of the day for having
POD in yours. =) (oops, I take that back, you'll get my first
vote tomorrow, I done ran out already... =P /me thumps himself on the head.)