41

Lately I'm interested in the topic of genetic algorithms, but I couldn't find any good resource. If you know any good resource, book or a site I would appreciate it. I have solid knowledge of algorithms and Artificial Intelligence but I'm looking for something with good introduction in Genetic Programming.

3
  • Are you specifically looking for genetic algorithms, or genetic programming?
    – Dan Dyer
    Feb 4, 2009 at 0:02
  • 5
    GP != GA != Hill Climbing with mutation
    – bias
    May 29, 2009 at 13:06
  • Please also, consider openGA.
    – Arash
    Jun 2, 2020 at 6:23

14 Answers 14

28

Best references for me so far:

Also if you're an absolute beginner I'd suggest you to start with the Hello World of Genetics Algorithms. There's nothing like a nice clean example to get started.

2
  • I should say, An Introduction to Genetic Algorithms by Melanie Mitchell is a good bet. I read Melane Mitchell's "Complexity: A Guided Tour" for Complex Systems Theory -- and I can't imagine a better job done at writing technical material.
    – Cody
    Oct 30, 2014 at 4:04
  • @Cody yeah Complexity is very good, I like it a lot too :)
    – JohnIdol
    Mar 19, 2015 at 10:04
15

I found Melanie Mitchell's book, An Introduction to Genetic Algorithms, to be very good. For a wider coverage of evolutionary computation topics, Introduction to Evolutionary Computing by Eiben and Smith is also worthwhile.

If you're just starting out, I recently wrote an introductory article that may be of use.

There are further links both in that article and also on the home page for my evolutionary computation framework.

5

I know this is an old question, but no answer has been accepted yet, so I thought I'd add my own contribution. One of the best free resources in my opinion for all things related to evolutionary computation (genetic algorithms, evolution strategies, genetic programming, etc.) is Sean Luke's online book Essentials of Metaheuristics.

4

This is a nice free book on the subject

http://www.lulu.com/items/volume_63/2167000/2167025/2/print/book.pdf

3

There is a great introduction to genetic algorithms at AI-Junkie.com as well as tutorials on many other AI and machine learning techniques. The genetic algorithms tutorial is aimed to 'explain genetic algorithms sufficiently for you to be able to use them in your own projects' while keeping the mathematics down as much as possible.

3

Here is Roger Alsing's recent article about building "Mona Lisa's picture" with a genetic algorithm :http://rogeralsing.com/2008/12/07/genetic-programming-evolution-of-mona-lisa/

Edited to remove hot link to the picture See: http://rogeralsing.files.wordpress.com/2008/12/evolutionofmonalisa1.gif

I've implemented my own version of this algorithm:

http://23.media.tumblr.com/NngfN9gsDhlsyws3NvFcuHfgo1_400.png
(source: tumblr.com)

See http://plindenbaum.blogspot.com/2008/12/random-notes-2008-12.html

4
  • Thats a cool image sequence, I doubt the owner of that blog would like you hotlinking it though. Feb 3, 2009 at 22:38
  • @Jamie. You're right. I removed the link.
    – Pierre
    Feb 3, 2009 at 22:43
  • 6
    The original is not even close to a genetic algorithm (haven't looked at yours though). Its simulated annealing with a greedy acceptance criteria.
    – Steve
    Feb 3, 2009 at 23:51
  • Be careful what you're calling a GA!
    – bias
    May 29, 2009 at 13:05
2

Clever Algorithms: Nature-Inspired Programming Recipes

by Jason Brownlee PhD.

This book is available free in PDF. Book covers large amount of nature-inspired algorithms, including evolutionary, swarm and neural algorithms.

book cover

1

A short introduction I wrote a long time ago is available here, but a better short introduction is here.

For a larger and comprehensive, although somewhat out-dated, list of resources visit the comp.ai.genetic FAQ.

0

If I may plug one of my favorite books, The Algorithm Design Manual by Steve Skiena has a great section on genetic algorithms (plus a lot of other interesting heuristics for solving various types of problems).

0

The book Programming Collective Intelligence by OReilly had chapter covering genetic algorithms. It might be a little bit to basic but it was a very illustrating example.

0

Practical Genetic Algorithms

0

'An Introduction to Genetic Algorithms' http://www.burns-stat.com/pages/Tutor/genetic.html

0

For an introductory approach (with an application to the Prisoner's Dilemma), see into:

http://www2.econ.iastate.edu/tesfatsi/holland.gaintro.htm

0

I implemented a Genetic Algorithm with java generics. https://github.com/juanmf/ga

It will apply the 3 operators (Mutation, crossing, Selection), and evolve a population, given the concrete implementations of Individual, Gen, FitnessMeter and factories exposed as spring beans.

/*This is all you have to add to the Spring App context 
 * before running the application
 */
@Configuration
public class Config {

    @Bean(name="individualFactory")
    public IndividualFactory getIndividualFactory() {
        return new Team.TeamFactory();
    }

    @Bean(name="populationFactory")
    public PopulationFactory getPopulationFactory() {
        return new Team.TeamPopulationFactory();
    }

    @Bean(name="fitnessMeter")
    public FitnessMeter getFitnessMeter() {
        System.out.println("getFitnessMeter");
        return new TeamAptitudeMeter();
    }
}

enter image description here This is the design, inside grandt there is an implementation of a specific problem solution, as an example.

Not the answer you're looking for? Browse other questions tagged or ask your own question.