Crossover index and mutation index in GA

조회 수: 2 (최근 30일)
Dua
Dua 2013년 4월 11일
May I know what is crossover index and mutation index in GA? How to find these two indices in both command line and GUI? Is there a function to calculate the values?

채택된 답변

Sean de Wolski
Sean de Wolski 2013년 4월 11일
편집: Sean de Wolski 2013년 4월 11일
The 'Selection' vector contains the indices of the individuals that are chosen to create the next generation. Based on the number of elite, crossover, and mutant children to be generated, the first group of indices describes parents of the elite children, the next group describes pairs of parents to form the crossover children, and the last group of indices is the parents of the mutation children.
The best way to visualize the genealogy of the population over generations is to use @gaplotgenealogy as the plot function. This can be set using gaoptimset().
  댓글 수: 2
Sean de Wolski
Sean de Wolski 2013년 4월 11일
편집: Sean de Wolski 2013년 4월 11일
Credits for the above go to Dan Seal who wrote about this.
Dua
Dua 2013년 4월 12일
Thank you to both Sean de Wolski and Dan Seal for your kind reply.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by