/*
* 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-2010, The University of Melbourne, Australia
*/
package org.cloudbus.cloudsim;
import java.util.List;
/**
* 微云(云任务)调度程序,表示一个vm对于某些cloudlet的调度策略
* 此仿真提供两种(空间共享CloudSchedulerSpaceShared,时间共享CloudSchedulerTimeshared)策略
* 其他可自行添加
*
* CloudletScheduler is an abstract class that represents the policy of
* scheduling performed by a virtual machine. So, classes
* extending this must execute Cloudlets. Also, the interface for cloudlet
* management is also implemented in this class.
*
* @author Rodrigo N. Calheiros
* @author Anton Beloglazov
* @since CloudSim Toolkit 1.0
*/
public abstract class CloudletScheduler {
/** The previous time. */
private double previousTime;
/** The current mips share. */
private List<Double> currentMipsShare;
/**
* 仿真前必须确定cloudlet的调度类型
* Creates a new CloudletScheduler object. This method must be invoked
* before starting the actual simulation.
*
* @pre $none
* @post $none
*/
public CloudletScheduler() {
setPreviousTime(0.0);
}
/**
* Updates the processing
云计算仿真工具中文注释CloudletScheduler.java
最新推荐文章于 2021-05-11 14:30:09 发布