cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudbus/cloudsim/allocationpolicies/power/PowerVmAllocationPolicyMigrationAbstract.java
protected void saveAllocation() {
        savedAllocation.clear();
        for (final Host host : getHostList()) {
            for (final Vm vm : host.getVmList()) {
                if (!host.getVmsMigratingIn().contains(vm)) {
                    savedAllocation.put(vm, host);
                }
            }
        }
    }
/**
     * Saves the current map between a VM and the host where it is place.
     *
     * @see #savedAllocation
     */
Saves the current map between a VM and the host where it is place.
@see #savedAllocation
Saves the current map between a VM and the host where it is place . @see #savedAllocation
protected void saveAllocation() {
        savedAllocation.clear();
        for (final Host host : getHostList()) {
            for (final Vm vm : host.getVmList()) {
                if (!host.getVmsMigratingIn().contains(vm)) {
                    savedAllocation.put(vm, host);
                }
            }
        }
    }
protected void saveAllocation ( ) { savedAllocation . clear ( ) ; for ( final Host host : getHostList ( ) ) { for ( final Vm vm : host . getVmList ( ) ) { if ( ! host . getVmsMigratingIn ( ) . contains ( vm ) ) { savedAllocation . put ( vm , host ) ; } } } }
Saves the current map between a VM and the host where it is place.
Saves the current map between a VM and the host where it is place .