The GA Procedure

SetSel Call

sets the selection parameters

call SetSel( selector <, pname, pvalue><, pname, pvalue>... );

The inputs to the SetSel subroutine are as follows:

selectoris the type of selection strategy to be used.
pnameis optional, and specifies the name of a particular property to be set for the selector operator.
pvaluespecifies 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 Properties
Selector Properties Default values
'tournament''size'2
'duel''pbest'0.8
Previous Page | Next Page | Top of Page