Template Function Aux::Random::choice

Function Documentation

template<typename Container>
Container::const_reference Aux::Random::choice(const Container &container)
Returns:

a uniform random choice from an indexable container of elements.