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

1 Ansicht (letzte 30 Tage)
Zhangxi Feng
Zhangxi Feng am 21 Apr. 2020
Bearbeitet: Zhangxi Feng am 21 Apr. 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

Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by