def linear_time_list(num): if num == 1: return "0" values = [0] for _ in range(num - 2): values.append(float(Random.float01())) values.append(1) return semi(list(map(str, sorted(values))))
def generate(self, _): self.value = Random.float01()
def generate(self, _): if Random.bool(): self.value = cat([Random.number() for _ in range(20)]) else: self.value = Random.float01()
def generate(self, _): self.value = semi([Random.float01() for _ in range(self.value_count)])
def control_point(): return cat([Random.float01() for _ in range(4)])
def generate(self, _): num = Random.range(1, 4) self.value = cat([Random.float01() for _ in range(num)])