NAME

    Wheel - Random selector of things depending on probabilities


SYNOPSIS my $wheel = new Wheel( @probs ); print $wheel->spin(); #Returns an element according to probabilities;


DESCRIPTION

Creates a ``roulette wheel'' for spinning and selecting stuff. It will be used in several places

new

Creates a new roulette wheel. Takes an array of numbers, which need not be normalized

spin()

Returns an individual according to fitness