lordjesus / UnityNEAT

Port of SharpNEAT to Unity 4.x and 5.x
125 stars 38 forks source link

FIX: Mutate_AddConnection() for feedforward networks did not evenly d… #2

Closed colgreen closed 8 years ago

colgreen commented 8 years ago

…istribute the selection of random source and target neurons. This could result in some neurons having zero probability.

FIX: Mutate_ConnectionWeights() did not evenly distribute the selection of connections to mutate.

FIX/ENHANCEMENT: Genome sorting now uses an unstable sort algorithm that randomly distributes the position of genomes of equal fitness. This removes the previous arbitrary selection of the top N genomes for elitism and selection. This might improve fostering and maintanining of genetic diversity.