cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudbus/cloudsim/brokers/DatacenterBrokerAbstract.java
private void clearVmCreationRequestsMapToTryNextDatacenter() {
        for (final Vm vm : vmWaitingList) {
            vmCreationRequestsMap.remove(vm);
        }
    }
/**
     * After trying to create the waiting VMs at a given Datacenter
     * and not all VMs could be created, removes the VMs yet waiting
     * in order to allow requesting their creation in another datacenter.
     * If a waiting VM is inside the {@link #vmCreationRequestsMap},
     * it means that it was already sent a request to create it.
     * Removing it from such a map, will allow
     * to trying creating the VM at another Datacenter.
     */
After trying to create the waiting VMs at a given Datacenter
and not all VMs could be created, removes the VMs yet waiting
in order to allow requesting their creation in another datacenter.
If a waiting VM is inside the  #vmCreationRequestsMap,
it means that it was already sent a request to create it.
Removing it from such a map, will allow
to trying creating the VM at another Datacenter.
After trying to create the waiting VMs at a given Datacenter and not all VMs could be created removes the VMs yet waiting in order to allow requesting their creation in another datacenter . If a waiting VM is inside the #vmCreationRequestsMap it means that it was already sent a request to create it . Removing it from such a map will allow to trying creating the VM at another Datacenter .
private void clearVmCreationRequestsMapToTryNextDatacenter() {
        for (final Vm vm : vmWaitingList) {
            vmCreationRequestsMap.remove(vm);
        }
    }
private void clearVmCreationRequestsMapToTryNextDatacenter ( ) { for ( final Vm vm : vmWaitingList ) { vmCreationRequestsMap . remove ( vm ) ; } }
After trying to create the waiting VMs at a given Datacenter
 and not all VMs could be created, removes the VMs yet waiting
 in order to allow requesting their creation in another datacenter.
After trying to create the waiting VMs at a given Datacenter and not all VMs could be created removes the VMs yet waiting in order to allow requesting their creation in another datacenter .