exchangeSols: Solution exchange between isolated GA subpopulations

Description Usage Arguments Details Value Author(s)

Description

The GABi genetic algorithm employs an 'island' model, in which distinct subpopulations are allowed to evolve in isolation of each other. In order to avoid total isolation, subpopulations may periodically exchange a solution with each other.

Usage

1
exchangeSols(demes,fitnesses,fittestonly,proximity)

Arguments

demes

List of numeric arrays, each one a distinct subpopulation of GA solutions.

fitnesses

List of numeric vectors, each one indicating the fitness of the corresponding solution (row) of the corresponding array in demes.

fittestonly

Boolean indicating whether or not only the fittest solution from each subpopulation is exchanged.

proximity

Boolean indicating whether or not the solution exchange can only occur between 'adjacent' subpopulations (i.e. consecutive elements of the list demes) or between any subpopulations.

Details

In the solution exchange process, a predetermined number of randomly selected solutions from each subpopulation (i.e. rows from each numeric array) are swapped with solutions from another subpopulation. See Whitley 1995 for more details on the Island Model of GA populations.

Value

List of numeric arrays, as input demes but with some solutions having been exchanged between the subpopulations.

Author(s)

Ed Curry e.curry@imperial.ac.uk



Search within the GABi package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.