CloudletToVmMappingSimulatedAnnealing

public class CloudletToVmMappingSimulatedAnnealing extends SimulatedAnnealing<CloudletToVmMappingSolution> implements CloudletToVmMappingHeuristic

A heuristic that uses Simulated Annealing to find a sub-optimal mapping among a set of Cloudlets and VMs in order to reduce the number of idle or overloaded Vm Pe’s.

Author:Manoel Campos da Silva Filho

Constructors

CloudletToVmMappingSimulatedAnnealing

public CloudletToVmMappingSimulatedAnnealing(double initialTemperature, ContinuousDistribution random)

Creates a new Simulated Annealing Heuristic for solving Cloudlets to Vm’s mapping.

Parameters:
  • initialTemperature – the system initial temperature
  • random – a random number generator

See also: .setColdTemperature(double), .setCoolingRate(double)

Methods

createNeighbor

public CloudletToVmMappingSolution createNeighbor(CloudletToVmMappingSolution source)

getCloudletList

public List<Cloudlet> getCloudletList()

getInitialSolution

public CloudletToVmMappingSolution getInitialSolution()

getVmList

public List<Vm> getVmList()

setCloudletList

public void setCloudletList(List<Cloudlet> cloudletList)

setVmList

public void setVmList(List<Vm> vmList)