Learn R Programming

bbo (version 0.2)

bbo.control: Control various aspects of the BBO implementation

Description

Allow the user to set some characteristics of the Biogeography-based optimization algorithm implemented in bbo.

Usage

bbo.control(pModify = 1, pMutate = 0.3, KEEP = 5, popSize = 20, maxGen = 20, numVar = 2, orderDep = TRUE)

Arguments

pModify
habitat modification probability, between 0 and 1; default = 1
pMutate
mutation probability; default = 0.3
KEEP
elitism parameter: how many of the best habitats to keep from one generation to the next; default = 5
popSize
population size (i.e., number of candidate solutions for every generation) default = 20. Kindly make sure that KEEP is never greater than popSize and not
maxGen
number of generations; default = 20
numVar
number of variables in each population member (i.e., problem dimension); default = 2
orderDep
TRUE/FALSE; whether order of the parameters of the habitat is to be maintained; default = TRUE

Value

Returns a list with all the BBO algorithm parameters set

Details

Control parameters for the bbo

References

D. Simon, "Biogeography-Based Optimization", IEEE Transactions on Evolutionary Computation, vol. 12, no. 6, pp. 702-713, December 2008.

See Also

bbo.control for control arguments

Examples

Run this code
  ct <- bbo.control(pMutate = 0.4, popSize = 50, KEEP = 10, maxGen = 50, numVar = 2)

Run the code above in your browser using DataLab