@contract
def random_factory(time_step, migration_time, params):
    return lambda vms_cpu, vms_ram, state=None: ([random(vms_cpu)], {})
Creates the random VM selection algorithm.
dataset/ETHPy150Open beloglazov/openstack-neat/neat/locals/vm_selection/algorithms.py/random_factory