cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudbus/cloudsim/datacenters/DatacenterSimple.java
private boolean requestVmVerticalScaling(final SimEvent ev) {
        if(!(ev.getData() instanceof VerticalVmScaling)){
            return false;
        }

        return vmAllocationPolicy.scaleVmVertically((VerticalVmScaling)ev.getData());
    }
/**
     * Process a {@link CloudSimTags#VM_VERTICAL_SCALING} request, trying to scale
     * a Vm resource.
     *
     * @param ev the received  {@link CloudSimTags#VM_VERTICAL_SCALING} event
     * @return true if the Vm was scaled, false otherwise
     */
Process a  CloudSimTags#VM_VERTICAL_SCALING request, trying to scale
a Vm resource.

@param ev the received   CloudSimTags#VM_VERTICAL_SCALING event
@return true if the Vm was scaled, false otherwise
Process a CloudSimTags#VM_VERTICAL_SCALING request trying to scale a Vm resource . @param ev the received CloudSimTags#VM_VERTICAL_SCALING event @return true if the Vm was scaled false otherwise
private boolean requestVmVerticalScaling(final SimEvent ev) {
        if(!(ev.getData() instanceof VerticalVmScaling)){
            return false;
        }
        return vmAllocationPolicy.scaleVmVertically((VerticalVmScaling)ev.getData());
    }
private boolean requestVmVerticalScaling ( final SimEvent ev ) { if ( ! ( ev . getData ( ) instanceof VerticalVmScaling ) ) { return false ; } return vmAllocationPolicy . scaleVmVertically ( ( VerticalVmScaling ) ev . getData ( ) ) ; }
Process a {@link CloudSimTags#VM_VERTICAL_SCALING} request, trying to scale
 a Vm resource.
Process a { @link CloudSimTags#VM_VERTICAL_SCALING } request trying to scale a Vm resource .