machine.setSpinUpDownCostMicros(CheapTimeCostCalculator.parseMicroCost(machineLineTokens[2])
+ CheapTimeCostCalculator.parseMicroCost(machineLineTokens[3]));
String[] capacityLineTokens = splitBySpacesOrTabs(readStringValue(), resourceListSize);
List<MachineCapacity> machineCapacityListOfMachine = new ArrayList<MachineCapacity>(resourceListSize);
for (int j = 0; j < resourceListSize; j++) {
MachineCapacity machineCapacity = new MachineCapacity();
machineCapacity.setId(machineCapacityId);
machineCapacityId++;
machineCapacity.setMachine(machine);
machineCapacity.setResource(solution.getResourceList().get(j));
machineCapacity.setCapacity(Integer.parseInt(capacityLineTokens[j]));
machineCapacityList.add(machineCapacity);
machineCapacityListOfMachine.add(machineCapacity);
}
machine.setMachineCapacityList(machineCapacityListOfMachine);
machineList.add(machine);