cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus-examples/src/main/java/org/cloudsimplus/examples/DynamicCloudletsArrival1.java
private void createAndSubmitCloudlets(Vm vm, double submissionDelay) {
        int cloudletId = cloudletList.size();
        List<Cloudlet> list = new ArrayList<>(NUMBER_OF_CLOUDLETS);
        for(int i = 0; i < NUMBER_OF_CLOUDLETS; i++){
            Cloudlet cloudlet = createCloudlet(cloudletId++, vm, broker);
            list.add(cloudlet);
        }

        broker.submitCloudletList(list, submissionDelay);
        cloudletList.addAll(list);
    }
/**
     * Creates cloudlets and submit them to the broker, applying
     * a submission delay for each one (simulating the dynamic cloudlet arrival).
     *
     * @param vm Vm to run the cloudlets to be created
     * @param submissionDelay the delay the broker has to include when submitting the Cloudlets
     *
     * @see #createCloudlet(int, Vm, DatacenterBroker)
     */
Creates cloudlets and submit them to the broker, applying
a submission delay for each one (simulating the dynamic cloudlet arrival).

@param vm Vm to run the cloudlets to be created
@param submissionDelay the delay the broker has to include when submitting the Cloudlets


Creates cloudlets and submit them to the broker applying a submission delay for each one ( simulating the dynamic cloudlet arrival ) . @param vm Vm to run the cloudlets to be created @param submissionDelay the delay the broker has to include when submitting the Cloudlets
private void createAndSubmitCloudlets(Vm vm, double submissionDelay) {
        int cloudletId = cloudletList.size();
        List<Cloudlet> list = new ArrayList<>(NUMBER_OF_CLOUDLETS);
        for(int i = 0; i < NUMBER_OF_CLOUDLETS; i++){
            Cloudlet cloudlet = createCloudlet(cloudletId++, vm, broker);
            list.add(cloudlet);
        }
        broker.submitCloudletList(list, submissionDelay);
        cloudletList.addAll(list);
    }
private void createAndSubmitCloudlets ( Vm vm , double submissionDelay ) { int cloudletId = cloudletList . size ( ) ; List < Cloudlet > list = new ArrayList < > ( NUMBER_OF_CLOUDLETS ) ; for ( int i = 0 ; i < NUMBER_OF_CLOUDLETS ; i ++ ) { Cloudlet cloudlet = createCloudlet ( cloudletId ++ , vm , broker ) ; list . add ( cloudlet ) ; } broker . submitCloudletList ( list , submissionDelay ) ; cloudletList . addAll ( list ) ; }
Creates cloudlets and submit them to the broker, applying
 a submission delay for each one (simulating the dynamic cloudlet arrival).
Creates cloudlets and submit them to the broker applying a submission delay for each one ( simulating the dynamic cloudlet arrival ) .