Genetic Algorithms

 

For the final installment in the Biologically Inspired Computation series, we’ll be taking a look at genetic algorithms.

Theory

From Wikipedia:

genetic algorithm (GA) is a search technique used in computing to find exact or approximate solutions to optimization and search problems. Genetic algorithms are categorized as global search heuristics. Genetic algorithms are a particular class of evolutionary algorithms (also known as evolutionary computation) that use techniques inspired by evolutionary biology such as inheritancemutationselection, and crossover (also called recombination).

I even took the liberty of including my paper on my findings with this project, just because there are so many parameters to test and creating the graphs can be rather time consuming. So take a look at the paper if you would like to read up on the relationships between the number of chromosomes and the average fitness of the population at any given generation, for example.

More uses of NSOperation and NSOperationQueue for multithreading in this project.

Download

Xcode Project (3.1 or later) | Leopard Only

Genetic Algorithm | Leopard Only

Biologically Inspired Computation Series

Comments (2) Leave a Comment
  1. Abbas January 19th, 2011 at 18:21 | #1

    Hi,

    I was wondering if you plan to extend this project to contain GP implementation as well.

    Thanks,
    Abbas

  2. Matt January 23rd, 2011 at 19:25 | #2

    I have no plans to continue work on this project. However, if you would like to contribute, you’re welcome to take what I’ve done and use.

Allowed tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">
Trackbacks are closed.