The GA Procedure |
sets the selection parameters
The inputs to the SetSel subroutine are as follows:
selector | is the type of selection strategy to be used. |
pname | is optional, and specifies the name of a particular property to be set for the selector operator. |
pvalue | specifies the value to be assigned to the corresponding property name. |
The SetSel call is used to specify a selector for the regeneration process, which selects members of the current generation to be propagated to the next. Generally, selection is based on solution fitness, with the fittest solutions more likely to be selected.
The supported values for selector and the corresponding selector properties and their default values are summarized in Table 1.7. See the section "Specifying the Selection Strategy" for a full description of the available selectors and their properties.
Table 1.7: Selectors and PropertiesSelector | Properties | Default values |
'tournament' | 'size' | 2 |
'duel' | 'pbest' | 0.8 |
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.