In gamultiobj, how to return the type of population of each generation?

1 visualización (últimos 30 días)
Zhangxi Feng
Zhangxi Feng el 21 de Abr. de 2020
Editada: Zhangxi Feng el 21 de Abr. de 2020
I would like to get the type of population (crossover, mutation, or normal) of each generation. Preferably outputing an array of size npopulation x 1 where each element corresponds to a population and the value corresponds to one of the types. For example, 1 - crossover, 2 - mutated, 3 - normal, etc.
Since it is gamultiobj, and I am only using a custom objective function, functions like mutation, crossover, and selection are all default gamultiobj functions. I believe the crossover is scattered, mutation is adaptive, and selection is normal.
Thanks!
Jesse

Respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by