Writing code for Genetic Algorithm

Feb 5, 2010 at 9:49pm

Writing code for Genetic Algorithm

Has anybody ever written java externals for implementing a genetic algorithm. I need these externals for an installation I am working on, and I am having some difficulty with regards to coding this algorithm in Java. Any help would be great.

#48234
Feb 7, 2010 at 2:37am

If you’re having difficulty with the algorithm, I recommend this book: http://www.amazon.com/Techniques-Programming-Premier-Press-Development/dp/193184108X/ref=pd_sim_b_3

If I remember correctly, it walks you through the an example of pathfinding using a GA. The impression I was left with is that GAs take a lot of tweaking to find the right blend of encoding, population size, crossover and fitness functions.

#173473
Feb 12, 2010 at 9:32am

Hi,
if you’re still looking: I implemented GA some years ago and had a lot of help from the itp nyu classes by daniel shiffman (it’s in processing):

http://www.shiffman.net/teaching/nature/ga/

#173474

You must be logged in to reply to this topic.