| AMOCselection | R Documentation |
The genetic algorithm require to select a pair of chromosomes, representing
dad and mom, for the crossover operator to
produce offspring (individual for next generation). Here, the same linear
ranking method in selection_linearrank is used to select a pair
of chromosomes for dad and mom in the at most one changepoint
(AMOC) problem. By default, the dad has better fit/smaller fitness function
value/larger rank than mom.
AMOCselection(pop, popFit)
pop |
A matrix contains the chromosomes for all individuals. The number of
rows is equal to |
popFit |
A vector contains the objective function value (population fit) being associated to each individual chromosome from above. |
A list contains the chromosomes for dad and mom.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.