NAME

Geo::Coder::Many::Scheduler::WeightedRandom - Weighted random scheduler

DESCRIPTION

A scheduler which randomly picks an item from the list, with the probability of each proportional to its weight.

METHODS

new

Construct and return a new scheduler for the array of pairs of geocoder names and weights whose reference is passed in.

INTERNAL METHODS

_get_next

Overrides the method of the same name from the parent class, and is called by get_next_unique instead.