cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus-testbeds/src/main/java/org/cloudsimplus/sla/tasktimecompletion/CloudletTaskTimeCompletionWithoutMinimizationExperiment.java
private void createHorizontalVmScaling(Vm vm) {
        HorizontalVmScaling horizontalScaling = new HorizontalVmScalingSimple();
        horizontalScaling
                .setVmSupplier(this::createVm)
                .setOverloadPredicate(this::isVmOverloaded);
        vm.setHorizontalScaling(horizontalScaling);
    }
/**
     * Creates a {@link HorizontalVmScaling} object for a given VM.
     *
     * @param vm the VM in which the Horizontal Scaling will be created
     */
Creates a  HorizontalVmScaling object for a given VM.
@param vm the VM in which the Horizontal Scaling will be created
Creates a HorizontalVmScaling object for a given VM . @param vm the VM in which the Horizontal Scaling will be created
private void createHorizontalVmScaling(Vm vm) {
        HorizontalVmScaling horizontalScaling = new HorizontalVmScalingSimple();
        horizontalScaling
                .setVmSupplier(this::createVm)
                .setOverloadPredicate(this::isVmOverloaded);
        vm.setHorizontalScaling(horizontalScaling);
    }
private void createHorizontalVmScaling ( Vm vm ) { HorizontalVmScaling horizontalScaling = new HorizontalVmScalingSimple ( ) ; horizontalScaling . setVmSupplier ( this :: createVm ) . setOverloadPredicate ( this :: isVmOverloaded ) ; vm . setHorizontalScaling ( horizontalScaling ) ; }
Creates a {@link HorizontalVmScaling} object for a given VM.
Creates a { @link HorizontalVmScaling } object for a given VM .