cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus-testbeds/src/main/java/org/cloudsimplus/hostfaultinjection/HostFaultInjectionExperiment.java
public Cloudlet createCloudlet(int id) {
        final int i = (int) (randCloudlet.sample() * CLOUDLET_LENGTHS.length);
        final long length = CLOUDLET_LENGTHS[i];

        UtilizationModel utilizationModel = new UtilizationModelFull();
        Cloudlet c
            = new CloudletSimple(id, length, CLOUDLET_PES)
            .setFileSize(CLOUDLET_FILESIZE)
            .setOutputSize(CLOUDLET_OUTPUTSIZE)
            .setUtilizationModel(utilizationModel);
        return c;
    }
/**
     * Creates the number of Cloudlets defined in {@code createCloudlets #cloudlets} and submits
     * them to the given broker.
     *
     * @return the List of created Cloudlets
     */
Creates the number of Cloudlets defined in  createCloudlets #cloudlets and submits
them to the given broker.

@return the List of created Cloudlets
Creates the number of Cloudlets defined in createCloudlets #cloudlets and submits them to the given broker . @return the List of created Cloudlets
public Cloudlet createCloudlet(int id) {
        final int i = (int) (randCloudlet.sample() * CLOUDLET_LENGTHS.length);
        final long length = CLOUDLET_LENGTHS[i];
        UtilizationModel utilizationModel = new UtilizationModelFull();
        Cloudlet c
            = new CloudletSimple(id, length, CLOUDLET_PES)
            .setFileSize(CLOUDLET_FILESIZE)
            .setOutputSize(CLOUDLET_OUTPUTSIZE)
            .setUtilizationModel(utilizationModel);
        return c;
    }
public Cloudlet createCloudlet ( int id ) { final int i = ( int ) ( randCloudlet . sample ( ) * CLOUDLET_LENGTHS . length ) ; final long length = CLOUDLET_LENGTHS [ i ] ; UtilizationModel utilizationModel = new UtilizationModelFull ( ) ; Cloudlet c = new CloudletSimple ( id , length , CLOUDLET_PES ) . setFileSize ( CLOUDLET_FILESIZE ) . setOutputSize ( CLOUDLET_OUTPUTSIZE ) . setUtilizationModel ( utilizationModel ) ; return c ; }
Creates the number of Cloudlets defined in {@code createCloudlets #cloudlets} and submits
 them to the given broker.
Creates the number of Cloudlets defined in { @code createCloudlets #cloudlets } and submits them to the given broker .