RouletteWheelSelection | R Documentation |
Function used to select an individual index based on fitness-proportional selection (inverse fitness weight).
RouletteWheelSelection(weights)
weights |
A numeric vector of weights. |
An integer representing the selected index.
This function used inside ALO function to probabilistically select antlions for guiding ants.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.