Forums > Java

Writing code for Genetic Algorithm

February 5, 2010 | 9:49 pm

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.



ash
February 7, 2010 | 2:37 am

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.


February 12, 2010 | 9:32 am

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/


Viewing 3 posts - 1 through 3 (of 3 total)