Created
August 16, 2019 03:41
-
-
Save Benzidrine/dfb9a7673a9b3da7372d033eff2ed6d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void Mutate() | |
{ | |
Random rnd = new Random(); | |
int Index = rnd.Next(0,genes.Count); | |
genes[Index] = GenerateGene(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment