computerListSize, processListSize);
}
public CloudBalance createCloudBalance(String inputId, int computerListSize, int processListSize) {
random = new Random(47);
CloudBalance cloudBalance = new CloudBalance();
cloudBalance.setId(0L);
createComputerList(cloudBalance, computerListSize);
createProcessList(cloudBalance, processListSize);
assureComputerCapacityTotalAtLeastProcessRequiredTotal(cloudBalance);
BigInteger possibleSolutionSize = BigInteger.valueOf(cloudBalance.getComputerList().size()).pow(
cloudBalance.getProcessList().size());
logger.info("CloudBalance {} has {} computers and {} processes with a search space of {}.",
inputId, computerListSize, processListSize,
AbstractSolutionImporter.getFlooredPossibleSolutionSize(possibleSolutionSize));
return cloudBalance;
}