PowerVmAllocationPolicySimple (cloudsim 3.1-SNAPSHOT API)

org.cloudbus.cloudsim.power

## Class PowerVmAllocationPolicySimple

- java.lang.Object
- - org.cloudbus.cloudsim.VmAllocationPolicy
  - - org.cloudbus.cloudsim.power.PowerVmAllocationPolicyAbstract
    - - org.cloudbus.cloudsim.power.PowerVmAllocationPolicySimple

-     public class PowerVmAllocationPolicySimple
      extends PowerVmAllocationPolicyAbstract

  This a simple class representing a simple VM allocation policy that does not perform any optimization of the VM allocation. If you are using any algorithms, policies or workload included in the power package, please cite the following paper: Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
  Since:
    CloudSim Toolkit 3.0
  Author:
    Anton Beloglazov

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PowerVmAllocationPolicySimple(List<? extends Host> list)` Instantiates a new power vm allocation policy simple.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<Map<String,Object>>` | `optimizeAllocation(List<? extends Vm> vmList)` Optimize allocation of the VMs according to current utilization.

    - ### Methods inherited from class org.cloudbus.cloudsim.power.PowerVmAllocationPolicyAbstract

      `allocateHostForVm, allocateHostForVm, deallocateHostForVm, findHostForVm, getHost, getHost, getVmTable, TryDVFSEnableHost`

    - ### Methods inherited from class org.cloudbus.cloudsim.VmAllocationPolicy

      `getHostList, setHostList`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PowerVmAllocationPolicySimple

          public PowerVmAllocationPolicySimple(List<? extends Host> list)

      Instantiates a new power vm allocation policy simple.
      Parameters:
        `list` - the list

  - ### Method Detail

    - #### optimizeAllocation

          public List<Map<String,Object>> optimizeAllocation(List<? extends Vm> vmList)

      Description copied from class: `VmAllocationPolicy`
      Optimize allocation of the VMs according to current utilization.
      Specified by:
        `optimizeAllocation` in class `VmAllocationPolicy`
      Parameters:
        `vmList` - the vm list
      Returns:
        the array list< hash map< string, object>>

Copyright © 2013 The Cloud Computing and Distributed Systems (CLOUDS) Laboratory, The University of Melbourne. All Rights Reserved.