i m working on cloudsim to implement an genetic algorithm to find the optimal placement of vms in hosts. in the begening i need to put vms randomly ( i created a class that extends from VmAllocationPolicy ) then i need to optimize vm allocation by migrating them to other hosts : i rode that i have to implement optimizeAllocation method inside my policy , i did it but i don't know how to execute it (optimizeAllocation)
Asked
Active
Viewed 131 times
-1
-
I found the solution . I called it from data center by : datacenter0.getallocationpolicy().optimizeallocation() – Imed Eddine BOUDRAA Feb 27 '18 at 08:53
1 Answers
0
I found the solution . I called it from data center by :
datacenter0.getallocationpolicy().optimizeallocation()

Imed Eddine BOUDRAA
- 31
- 1
- 9