Package org.cloudsimplus.heuristics
Interface CloudletToVmMappingHeuristic
- All Superinterfaces:
Heuristic<CloudletToVmMappingSolution>
- All Known Implementing Classes:
CloudletToVmMappingSimulatedAnnealing
public interface CloudletToVmMappingHeuristic extends Heuristic<CloudletToVmMappingSolution>
Provides the methods to be used for implementing a heuristic to get
a sub-optimal solution for mapping Cloudlets to Vm's.
- Since:
- CloudSim Plus 1.0
- Author:
- Manoel Campos da Silva Filho
-
Field Summary
Fields Modifier and Type Field Description static CloudletToVmMappingHeuristic
NULL
A property that implements the Null Object Design Pattern forHeuristic
objects. -
Method Summary
Modifier and Type Method Description List<Cloudlet>
getCloudletList()
List<Vm>
getVmList()
void
setCloudletList(List<Cloudlet> cloudletList)
Sets the list of Cloudlets to be mapped toavailable Vm's
.void
setVmList(List<Vm> vmList)
Sets the list of available VMs to host Cloudlets.Methods inherited from interface org.cloudsimplus.heuristics.Heuristic
createNeighbor, getAcceptanceProbability, getBestSolutionSoFar, getInitialSolution, getNeighborhoodSearchesByIteration, getNeighborSolution, getRandomValue, getSolveTime, isToStopSearch, setNeighborhoodSearchesByIteration, solve
-
Field Details
-
NULL
A property that implements the Null Object Design Pattern forHeuristic
objects.
-
-
Method Details
-
getCloudletList
- Returns:
- the list of cloudlets to be mapped to
available Vm's
.
-
getVmList
- Returns:
- the list of available Vm's to host Cloudlets.
-
setCloudletList
Sets the list of Cloudlets to be mapped toavailable Vm's
.- Parameters:
cloudletList
- the list of Cloudlets to set
-
setVmList
Sets the list of available VMs to host Cloudlets.- Parameters:
vmList
- the list of VMs to set
-