Class VmSelectionPolicyMinimumMigrationTime
java.lang.Object
org.cloudbus.cloudsim.selectionpolicies.VmSelectionPolicyMinimumMigrationTime
- All Implemented Interfaces:
VmSelectionPolicy
public class VmSelectionPolicyMinimumMigrationTime extends Object implements VmSelectionPolicy
A VM selection policy that selects for migration the VM with Minimum Migration Time (MMT).
If you are using any algorithms, policies or workload included in the power package please cite the following paper:
If you are using any algorithms, policies or workload included in the power package please cite the following paper:
- Since:
- CloudSim Toolkit 3.0
- Author:
- Anton Beloglazov
-
Field Summary
Fields inherited from interface org.cloudbus.cloudsim.selectionpolicies.VmSelectionPolicy
NULL
-
Constructor Summary
Constructors Constructor Description VmSelectionPolicyMinimumMigrationTime()
-
Method Summary
Modifier and Type Method Description Vm
getVmToMigrate(Host host)
Gets a VM to migrate from a given host.
-
Constructor Details
-
VmSelectionPolicyMinimumMigrationTime
public VmSelectionPolicyMinimumMigrationTime()
-
-
Method Details
-
getVmToMigrate
Description copied from interface:VmSelectionPolicy
Gets a VM to migrate from a given host.- Specified by:
getVmToMigrate
in interfaceVmSelectionPolicy
- Parameters:
host
- the host to get a Vm to migrate from- Returns:
- the vm to migrate or
Vm.NULL
if there is not Vm to migrate
-