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

3 vues (au cours des 30 derniers jours)
Zhangxi Feng
Zhangxi Feng le 21 Avr 2020
Modifié(e) : Zhangxi Feng le 21 Avr 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

Réponses (0)

Catégories

En savoir plus sur Mathematics dans Help Center et File Exchange

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by