R/active_snw_search_ga.R
dot-ga_pick.Rd
Pick one index by rank-proportional (roulette) selection
.ga_pick(weights, total)
Numeric weights aligned to the (sorted) population.
Sum of weights.
weights
An integer index into the population.