You mentioned the genetic image program in the genetic TSP problem, I wrote a Processing.org sketch that does that :) You only need to download the G4P library for the basic GUI. I occasionally improve the code, but it runs fine just as it is.
https://github.com/obackhoff/Genetic_Image
As a suggestion, for genetic algorithms, I would add different levels of mutation that could occur.. sometimes drastic change, sometimes subtle. Also, I would keep the n most fit objects of the population, so the population does not diverge from the current best fit and turns into all random. Cheers for the great content.
You mentioned the genetic image program in the genetic TSP problem, I wrote a Processing.org sketch that does that :) You only need to download the G4P library for the basic GUI. I occasionally improve the code, but it runs fine just as it is. https://github.com/obackhoff/Genetic_Image
As a suggestion, for genetic algorithms, I would add different levels of mutation that could occur.. sometimes drastic change, sometimes subtle. Also, I would keep the n most fit objects of the population, so the population does not diverge from the current best fit and turns into all random. Cheers for the great content.