NAME

Geo::Coder::Many::Scheduler::UniquenessScheduler - Scheduler base class which ensures uniqueness

DESCRIPTION

A base class for enforcing correct behaviour of get_next_unique (and the other methods) even when a scheduling scheme might not take this into account. Note: this may alter the properties of the scheduling scheme!

Subclasses should

METHODS

new

Creates a UniquenessScheduler object and returns it. This should not be called directly, but by any subclasses, via SUPER.

reset_available

Update the set of currently available items to the full set of items initially provided.

get_next_unique

Uses _get_next (which has been overridden) to obtain the next scheduled item,

next_available

Zero if there are items remaining; undef if there aren't.

_get_next

Shoudl be implemented by a subclass

process_feedback

Does nothing by default; may be overridden