code: public static List<Sleeping> newSleeping(Collection<VM> vms) {
          return vms.stream().map(Sleeping::new).collect(Collectors.toList());
      }
docs: Instantiate discrete constraints for a collection of VMs.
  
  @param vms the VMs to integrate
  @return the associated list of constraints