def __init__(self, zone=(0.2, 0.8), coverage=1., factor=(0.5, 2), name='Speed_Aug', verbose=0, stateless=True): super().__init__(action=Action.SUBSTITUTE, name=name, zone=zone, coverage=coverage, factor=factor, device='cpu', verbose=verbose, stateless=stateless) self.model = nma.Speed()
def get_model(cls, zone, coverage, duration, factor): return nma.Speed(zone, coverage, duration, factor)
def get_model(cls, speed_range): return nma.Speed(speed_range)
def get_model(self, speed_factor): return nma.Speed(speed_factor)