cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus-examples/src/main/java/org/cloudsimplus/examples/ParallelSimulationsExample.java
@Override
    public void run() {
        Datacenter datacenter0 = createDatacenter();

        /*Creates a Broker accountable for submission of VMs and Cloudlets
        on behalf of a given cloud user (customer).*/
        broker = new DatacenterBrokerSimple(simulation);

        createVms();
        createCloudlets();

        broker.submitCloudletList(cloudletList);
        /*Starts the simulation and waits all cloudlets to be executed*/
        simulation.start();

        this.finishedCloudletList = broker.getCloudletFinishedList();
    }
/**
     * Builds the simulation scenario and starts the simulation.
     */
Builds the simulation scenario and starts the simulation.
Builds the simulation scenario and starts the simulation .
@Override
    public void run() {
        Datacenter datacenter0 = createDatacenter();
        /*Creates a Broker accountable for submission of VMs and Cloudlets
        on behalf of a given cloud user (customer).*/
        broker = new DatacenterBrokerSimple(simulation);
        createVms();
        createCloudlets();
        broker.submitCloudletList(cloudletList);
        /*Starts the simulation and waits all cloudlets to be executed*/
        simulation.start();
        this.finishedCloudletList = broker.getCloudletFinishedList();
    }
@ Override public void run ( ) { Datacenter datacenter0 = createDatacenter ( ) ; /*Creates a Broker accountable for submission of VMs and Cloudlets
        on behalf of a given cloud user (customer).*/ broker = new DatacenterBrokerSimple ( simulation ) ; createVms ( ) ; createCloudlets ( ) ; broker . submitCloudletList ( cloudletList ) ; /*Starts the simulation and waits all cloudlets to be executed*/ simulation . start ( ) ; this . finishedCloudletList = broker . getCloudletFinishedList ( ) ; }
Builds the simulation scenario and starts the simulation.
Builds the simulation scenario and starts the simulation .