.
online roulette algorithm snrm