Global Index (all files) (short | long) | Local contents | Local Index (files in subdir) (short | long)
NewChromIx = sellocal(FitnV, Nsel, SelOpt);
SELection in a LOCAL neighbourhood
This function performs SELection in a LOCAL neighbourhood.
This function is the first part of the implementation of
the local model (population model). The second part is
implemented in reinsloc.
Syntax: NewChromIx = sellocal(FitnV, Nsel, SelOpt)
Input parameters:
FitnV - Column vector containing the fitness values of the
individuals in the population.
Nsel - Number of individuals to be selected
SelOpt - (optional) Vector containing parameters for local selection
SelOpt(1): local dimension
SelOpt(2): local structure - number indicating the structure
of the neighbourhood
SelOpt(3): local distance
Output parameters:
NewChromIx- Column vector containing the indexes of the selected
individuals relative to the original population, shuffeld.
The new population, ready for mating, can be obtained
by calculating OldChrom(NewChromIx,:).
See also: selection, reinsloc, comploc, selsus, selrws, seltrunc, seltour
| This function calls | This function is called by |
|---|---|