cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus-examples/src/main/java/org/cloudsimplus/examples/autoscaling/VerticalVmRamScalingExample.java
private void createDatacenter() {
        for (int i = 0; i < HOSTS; i++) {
            hostList.add(createHost());
        }

        DatacenterCharacteristics characteristics = new DatacenterCharacteristicsSimple(hostList);
        Datacenter dc0 = new DatacenterSimple(simulation, characteristics, new VmAllocationPolicySimple());
        dc0.setSchedulingInterval(SCHEDULING_INTERVAL);
    }
/**
     * Creates a Datacenter and its Hosts.
     */
Creates a Datacenter and its Hosts.
Creates a Datacenter and its Hosts .
private void createDatacenter() {
        for (int i = 0; i < HOSTS; i++) {
            hostList.add(createHost());
        }
        DatacenterCharacteristics characteristics = new DatacenterCharacteristicsSimple(hostList);
        Datacenter dc0 = new DatacenterSimple(simulation, characteristics, new VmAllocationPolicySimple());
        dc0.setSchedulingInterval(SCHEDULING_INTERVAL);
    }
private void createDatacenter ( ) { for ( int i = 0 ; i < HOSTS ; i ++ ) { hostList . add ( createHost ( ) ) ; } DatacenterCharacteristics characteristics = new DatacenterCharacteristicsSimple ( hostList ) ; Datacenter dc0 = new DatacenterSimple ( simulation , characteristics , new VmAllocationPolicySimple ( ) ) ; dc0 . setSchedulingInterval ( SCHEDULING_INTERVAL ) ; }
Creates a Datacenter and its Hosts.
Creates a Datacenter and its Hosts .