

def generate_rastrigin(random, args):
    size = args.get('num_inputs', 10)
    return [size.uniform((- 5.12), 5.12) for i in range(size)]

dataset/ETHPy150Open aarongarrett/inspyred/examples/advanced/logging_example.py generate_rastrigin/VarMisuse@25/33 `random`->`size`