''' from sgpem import SchedulableQueue, PolicyParameters ''' from Abstract import * class Policy: ''' Avoid instantiation of an abstract class. ''' __metaclass__ = Metaclass configure = AbstractMethod('configure') sort_queue = AbstractMethod('sort_queue') is_preemptive = AbstractMethod('is_preemptive') is_time_sliced = AbstractMethod('is_time_sliced') get_parameters = AbstractMethod('get_parameters')