Package org.cloudsimplus.heuristics
Interface CloudletToVmMappingHeuristic
- All Superinterfaces:
Heuristic<CloudletToVmMappingSolution>
- All Known Implementing Classes:
CloudletToVmMappingSimulatedAnnealing
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
Modifier and TypeFieldDescriptionstatic final CloudletToVmMappingHeuristic
A property that implements the Null Object Design Pattern forHeuristic
objects. -
Method Summary
Modifier and TypeMethodDescriptionvoid
setCloudletList
(List<Cloudlet> cloudletList) Sets the list of Cloudlets to be mapped toavailable Vm's
.void
Sets the list of available VMs to host Cloudlets.Methods inherited from interface org.cloudsimplus.heuristics.Heuristic
createNeighbor, getAcceptanceProbability, getBestSolutionSoFar, getInitialSolution, getNeighborSolution, getRandomValue, getSearchesByIteration, getSolveTime, isToStopSearch, setSearchesByIteration, 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
-