/** * Creates an array with the configuration of PEs for each Cloudlet to be * created in each experiment run. Every experiment will use the same * Cloudlets configurations. * * @return the created cloudlet PEs array */ private int[] createCloudletPesArray() { int[] pesArray = new int[CLOUDLETS_TO_CREATE]; int totalNumberOfPes = 0; final ContinuousDistribution random = new NormalDistr(getBaseSeed(), 2, 0.6); for (int i = 0; i < CLOUDLETS_TO_CREATE; i++) { pesArray[i] = (int) random.sample() + 1; totalNumberOfPes += pesArray[i]; } return pesArray; }