NAME
Geo::Coder::Many::Scheduler::UniquenessScheduler::WRR - Weighted Round Robin scheduler (default)
DESCRIPTION
Returns items based on the weighted round-robin scheduling algorithm. It inherits from UniquenessScheduler because it doesn't provide get_next_unique and reset_available by itself.
METHODS
new
Constructs and returns a new WRR scheduler based on a weighted-list of items. (Due to the way List::Util::WeightedRoundRobin is implemented, the items - in this case the names of geocoders - are copied such that the list contains the appropriate number of each item for its corresponding weight. Note that using large, coprime weights may produce a large list...!)
INTERNAL METHODS
_get_next
Returns the next most appropriate geocoder based on the weighted round robin scoring.