Description Usage Arguments Value Author(s)
In this selection mechanism, parents are chosen to produce offspring in the next stage. Three different methods are provided: "twopropselection", "onepropselection" and "tournament"
1 | selectparents(originalparents, couplenum, method, fitness, subsetnum = NULL)
|
originalparents |
is a casenum * variablenum matrix |
couplenum |
number of couples selected |
method |
the method to select the parents, "twopropselection", "onepropselection" or "tournament" |
fitness |
goodness of fit ~ a casenum * 1 vector , default is AICvalue |
subsetnum |
In method "tournament", we partition the set of chromosomes in generation t into "subsetnum" disjoint subsets |
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.