def value(self):
    current_value = (self.v * self.schedule((self.n / self.nvalues)))
    self.n += 1.0
    return current_value
def value(self):
    current_value = (self.v * self.schedule((self.n / self.nvalues)))
    self.n += 1.0
    return current_value