cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus-testbeds/src/main/java/org/cloudsimplus/sla/SlaMetricsWithoutNetworkExample.java
private List<Cloudlet> createCloudlet(DatacenterBroker broker, int cloudlets) {
        // Creates a container to store Cloudlets
        List<Cloudlet> list = new ArrayList<>(cloudlets);

        //Cloudlet Parameters
        long length = 1000;
        long fileSize = 300;
        long outputSize = 300;
        int pesNumber = 1;
        UtilizationModel utilizationModel = new UtilizationModelFull();

        for (int i = 0; i < cloudlets; i++) {
            Cloudlet cloudlet = new CloudletSimple(i, length, CLOUDLET_PES)
                    .setFileSize(fileSize)
                    .setOutputSize(outputSize)
                    .setUtilizationModel(utilizationModel);
            list.add(cloudlet);
        }
        return list;
    }
/**
     * Creates cloudlets
     *
     * @param broker broker id
     * @param cloudlets to criate
     * @return list of cloudlets
     */
Creates cloudlets
@param broker broker id
@param cloudlets to criate
@return list of cloudlets
Creates cloudlets @param broker broker id @param cloudlets to criate @return list of cloudlets
private List<Cloudlet> createCloudlet(DatacenterBroker broker, int cloudlets) {
        List<Cloudlet> list = new ArrayList<>(cloudlets);
        long length = 1000;
        long fileSize = 300;
        long outputSize = 300;
        int pesNumber = 1;
        UtilizationModel utilizationModel = new UtilizationModelFull();
        for (int i = 0; i < cloudlets; i++) {
            Cloudlet cloudlet = new CloudletSimple(i, length, CLOUDLET_PES)
                    .setFileSize(fileSize)
                    .setOutputSize(outputSize)
                    .setUtilizationModel(utilizationModel);
            list.add(cloudlet);
        }
        return list;
    }
private List < Cloudlet > createCloudlet ( DatacenterBroker broker , int cloudlets ) { List < Cloudlet > list = new ArrayList < > ( cloudlets ) ; long length = 1000 ; long fileSize = 300 ; long outputSize = 300 ; int pesNumber = 1 ; UtilizationModel utilizationModel = new UtilizationModelFull ( ) ; for ( int i = 0 ; i < cloudlets ; i ++ ) { Cloudlet cloudlet = new CloudletSimple ( i , length , CLOUDLET_PES ) . setFileSize ( fileSize ) . setOutputSize ( outputSize ) . setUtilizationModel ( utilizationModel ) ; list . add ( cloudlet ) ; } return list ; }
Creates cloudlets
 @param broker broker id
 @param cloudlets to criate
 @return list of cloudlets
Creates cloudlets @param broker broker id @param cloudlets to criate @return list of cloudlets
// Creates a container to store Cloudlets //Cloudlet Parameters