cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus-examples/src/main/java/org/cloudsimplus/examples/autoscaling/VerticalVmRamScalingExample.java
private Vm createVm() {
        final int id = createsVms++;

        return new VmSimple(id, 1000, VM_PES)
            .setRam(VM_RAM).setBw(1000).setSize(10000)
            .setCloudletScheduler(new CloudletSchedulerTimeShared());
    }
/**
     * Creates a Vm object.
     *
     * @return the created Vm
     */
Creates a Vm object.
@return the created Vm
Creates a Vm object . @return the created Vm
private Vm createVm() {
        final int id = createsVms++;
        return new VmSimple(id, 1000, VM_PES)
            .setRam(VM_RAM).setBw(1000).setSize(10000)
            .setCloudletScheduler(new CloudletSchedulerTimeShared());
    }
private Vm createVm ( ) { final int id = createsVms ++ ; return new VmSimple ( id , 1000 , VM_PES ) . setRam ( VM_RAM ) . setBw ( 1000 ) . setSize ( 10000 ) . setCloudletScheduler ( new CloudletSchedulerTimeShared ( ) ) ; }
Creates a Vm object.
Creates a Vm object .