question: public static List < PowerHost > createHostList ( int hostsNumber ) { List < PowerHost > hostList = new ArrayList < PowerHost > ( ) ; for ( int i = 0 ; i < hostsNumber ; i ++ ) { int hostType = i % Constants . HOST_TYPES ; List < Pe > peList = new ArrayList < Pe > ( ) ; for ( int j = 0 ; j < Constants . HOST_PES [ hostType ] ; j ++ ) { peList . add ( new Pe ( j , new PeProvisionerSimple ( Constants . HOST_MIPS [ hostType ] ) ) ) ; } hostList . add ( new PowerHostUtilizationHistory ( i , new RamProvisionerSimple ( Constants . HOST_RAM [ hostType ] ) , new BwProvisionerSimple ( Constants . HOST_BW ) , Constants . HOST_STORAGE , peList , new VmSchedulerTimeSharedOverSubscription ( peList ) , Constants . HOST_POWER [ hostType ] ) ) ; } return hostList ; }
target:  Creates the host list.