An additional function, crtbase, is provided that builds a vector describing the integer representation used. Real-valued populations may be initialised using crtrp. Conversion between binary and real-values is provided by the routine bs2rv that also supports the use of Gray codes and logarithmic scaling. The toolbox supports the offsetting and scaling method, scaling, and the linear-ranking algorithm, ranking. In addition, non-linear ranking is also supported in the routine ranking.
Available routines are roulette wheel selection, rws, and stochastic universal sampling, sus.
A high-level entry function, select, is also provided as a convenient interface to the selection routines, particularly where multiple populations are used. In cases where a generation gap is required, i.e. where the entire population is not reproduced in each generation, reins can be used to effect uniform random or fitness-based reinsertion. A general multi-point crossover routine, xovmp, that supports uniform crossover is also provided. To support real-valued chromosome representations, discrete, intermediate and line recombination are supplied in the routines, recdis, recint and reclin respectively. The routine recmut performs line recombination with mutation features.