GeneticAlgorithm
GeneticAlgorithm copied to clipboard
Question about crossover
Hello,
I've read your article on medium and I've question. In the crossover function, wouldn't be better to swap value randomly from left or right? With this implementation first genre is more prone to change than last gene of an individual. Is this intentional ?
https://github.com/memento/GeneticAlgorithm/blob/c61bf2adcc9bc0bd67092bf5c5f365cb27b7155e/src/fr/dieul/lab/geneticalgorithm/SimpleDemoGA.java#L106-L120