logger.error("********* WithdrawList ********"); for (int i=0; i < withdrawList.size(); i++) { logger.error(taskUtils.taskDesc((Task)withdrawList.get(i))); } logger.error("********* ProjectSupplyList ********"); for (int i=0; i < projSupplyList.size(); i++) { logger.error(taskUtils.taskDesc((Task)projSupplyList.get(i))); } logger.error("********* SupplyList ********"); for (int i=0; i < supplyList.size(); i++) { logger.error(taskUtils.taskDesc((Task)supplyList.get(i))); } logger.error("********* Buffered Critical Levels ********"); printQuantityScheduleTimes(bufferedCriticalLevels); logger.error("********* Buffered Inventory Levels ********"); printQuantityScheduleTimes(bufferedInventoryLevels);
  public void Test() {//      logger.error("Bucket size is "+MSEC_PER_BUCKET/TimeUtils.MSEC_PER_DAY);//      logger.error("ReorderPeriod is "+reorderPeriod+", getReorderPeriod() "+getReorderPeriod()+//  		       ", critical level "+criticalLevel);//      computeCriticalLevels();//      setLevel(0, myPG.getInitialLevel());//      for (int i=1; i < projectedDemandArray.length; i++) {//        double new_level = getLevel(i-1) - projectedDemandArray[i];//        setLevel(i, new_level);//      }//      logger.error("Date for Bucket Zero is "+TimeUtils.dateString(convertBucketToTime(0)));//      for (int i=0; i < projectedDemandArray.length; i++) {//        logger.error("Bucket "+i+", Demand "+getActualDemand(i)+", criticalLevel "+//  			 criticalLevelsArray[i]+" Level "+inventoryLevelsArray[i]);//      }    logger.error("********* ProjectWithdrawList ********");    for (int i=0; i < projWithdrawList.size(); i++) {      logger.error(taskUtils.taskDesc((Task)projWithdrawList.get(i)));    }    logger.error("********* WithdrawList ********");    for (int i=0; i < withdrawList.size(); i++) {      logger.error(taskUtils.taskDesc((Task)withdrawList.get(i)));    }    logger.error("********* ProjectSupplyList ********");    for (int i=0; i < projSupplyList.size(); i++) {      logger.error(taskUtils.taskDesc((Task)projSupplyList.get(i)));    }    logger.error("********* SupplyList ********");    for (int i=0; i < supplyList.size(); i++) {      logger.error(taskUtils.taskDesc((Task)supplyList.get(i)));    }    logger.error("********* Buffered Critical Levels ********");    printQuantityScheduleTimes(bufferedCriticalLevels);    logger.error("********* Buffered Inventory Levels ********");    printQuantityScheduleTimes(bufferedInventoryLevels);  }