Skip to content
Sujimichi edited this page Sep 12, 2010 · 22 revisions

General Purpose Object Oriented Genetic Algorithm

this wiki is not completed…and now a bit out of date

Broad Overview

This GA was written with the intention of making a flexible framework which could easily be extended to include many variations on the theme of algorithmic evolution. This is my first object oriented GA, and being OO this has enabled functionality to be parcelled in a manor consistent with natural systems. Instead of the usual notion of a population being just an Array of genomes and these being either a String or an Array, the population here is an object which provides population centric functions that act on a group of Individuals. Individuals, also objects contain Genome objects and each type of object is responsible for actions relevant to its type. E.g. Genomes perform the actions of recombination and mutation, whilst Populations perform the actions of selection Individuals etc. Evolution is also an object in its own right, one which is passed a population and arguments and coordinates the actions of evolution.

This is still a work in progress. At some point I want to package it up into a gem for ease of use.

I would like to have feed back on this, let me know if you spot any typos, conceptos or dyslexisums, or just genneral suggestions.

Clone this wiki locally