cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus-examples/src/main/java/org/cloudsimplus/examples/listeners/CloudletListenersExample1.java
private Datacenter createDatacenter() {
        Host host = createHost(0);
        hostList.add(host);

        DatacenterCharacteristics characteristics = new DatacenterCharacteristicsSimple(hostList);
        return new DatacenterSimple(simulation, characteristics, new VmAllocationPolicySimple());
    }
/**
     * Creates a Datacenter with pre-defined configuration.
     *
     * @return the created Datacenter
     */
Creates a Datacenter with pre-defined configuration.
@return the created Datacenter
Creates a Datacenter with pre - defined configuration . @return the created Datacenter
private Datacenter createDatacenter() {
        Host host = createHost(0);
        hostList.add(host);
        DatacenterCharacteristics characteristics = new DatacenterCharacteristicsSimple(hostList);
        return new DatacenterSimple(simulation, characteristics, new VmAllocationPolicySimple());
    }
private Datacenter createDatacenter ( ) { Host host = createHost ( 0 ) ; hostList . add ( host ) ; DatacenterCharacteristics characteristics = new DatacenterCharacteristicsSimple ( hostList ) ; return new DatacenterSimple ( simulation , characteristics , new VmAllocationPolicySimple ( ) ) ; }
Creates a Datacenter with pre-defined configuration.
Creates a Datacenter with pre - defined configuration .