Description Usage Arguments Value Author(s)
the set of parents in generation t is randomly partitioned into k disjoint subsets of equal size(perhaps with a few remaining parents temporarily ignored) The best individual in each group is chosen as a parent. Additional random partitionings are carried out until sufficient parents have been generated.Parents are then paired randomly for breeding.
1 | tournament(originalparents, couplenum, subsetnum, fitness)
|
originalparents |
a casenum * variablenum matrix |
couplenum |
number of couples selected |
subsetnum |
partition the set of chromosomes in generation t into "subsetnum" disjoint subsets |
fitness |
goodness of fit ~ a casenum * 1 vector , default is AICvalue |
Returns the selected parents ~ list
Lei Zhang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.