def init(self, size):
    pop = []
    for _ in range(size):
        pop.append((random.uniform(0, 1), random.uniform(0, 1)))
    return np.array(pop)
def init(self, size):
    pop = []
    for _ in range(size):
        pop.append((random.uniform(0, 1), random.uniform(0, 1)))
    return np.array(pop)