MATLAB Answers

Genetic Algorithm_ways for Reproduction?

3 views (last 30 days)
Rui
Rui on 27 Aug 2012
Hello,
I have some problem on reproduction in Genetic Algorithm.
For reproduction, Genetic Algorithm takes ALL individulas into account. I intent to ONLY use fittest individuals (Elites) to reproduce offspring by mutation and crossover. I dont know if the ga tool can realize this? I carefully look through the manual, but had no idea. Someone can help me? Thanks.
Rui

Answers (1)

Sean de Wolski
Sean de Wolski on 27 Aug 2012
Sounds like you'll want to use the 'SelectionFcn' to select the next generation:

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by