Introduction - If you have any usage issues, please Google them yourself
1. Evaluate the fitness of each chromosome.
2. Following the principle of higher fitness and greater probability of selection, two individuals are selected from the population as the parent and the parent.
3. Extract the chromosomes of both parents and cross them to produce offspring.
4. Mutation of the chromosomes of the progeny
5, repeat 2, 3, 4 steps until the new population is born. End the cycle.