sampling#

Module containing sampling subroutines.

Functions

axis_shuffle

Perform an in-place shuffle for an array along a set of axes.

outcross_shuffle

Shuffle individuals between crosses to ensure that matings are (at least locally) maximally outcrossing.

stochastic_universal_sampling

Perform stochastic universal sampling.

tiled_choice

Generate a random sample from a given 1-D array.