/* * Title: CloudSim Toolkit * Description: CloudSim (Cloud Simulation) Toolkit for Modeling and Simulation of Clouds * Licence: GPL - http://www.gnu.org/copyleft/gpl.html * * Copyright (c) 2009-2012, The University of Melbourne, Australia */ package org.cloudbus.cloudsim.power; import java.util.List; import java.util.Map; import org.cloudbus.cloudsim.Host; import org.cloudbus.cloudsim.Vm; /** * 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 (CCPE), Volume 24, * Issue 13, Pages: 1397-1420, John Wiley & Sons, Ltd, New York, USA, 2012 * * @author Anton Beloglazov * @since CloudSim Toolkit 3.0 */ public class PowerVmAllocationPolicySimple extends PowerVmAllocationPolicyAbstract { /** * Instantiates a new power vm allocation policy simple. * * @param list the list */ public PowerVmAllocationPolicySimple(List<? extends Host> list) { super(list); } /* * (non-Javadoc) * @see org.cloudbus.cloudsim.VmAllocationPolicy#optimizeAllocation(java.util.List) */ @Override public List<Map<String, Object>> optimizeAllocation(List<? extends Vm> vmList) { // This policy does not optimize the VM allocation return null; } }