int aspectTypes[] = {AspectType.END_TIME, AspectType.QUANTITY}; double results[] = {(double) end, getTaskUtils().getPreference(withdraw, AspectType.QUANTITY)};
AspectValue avs[] = new AspectValue[2]; avs[0] = AspectValue.newAspectValue(AspectType.END_TIME, end); avs[1] = AspectValue.newAspectValue(AspectType.QUANTITY, getTaskUtils().getPreference(withdraw, AspectType.QUANTITY));
  private void createLateAllocation(Task withdraw, long end,                                    Inventory inv, LogisticsInventoryPG thePG) {    int aspectTypes[] = {AspectType.END_TIME, AspectType.QUANTITY};    double results[] = {(double) end, getTaskUtils().getPreference(withdraw, AspectType.QUANTITY)};    AllocationResult estimatedResult = inventoryPlugin.getPlanningFactory().      newAllocationResult(0.9, true, aspectTypes, results);    compareResults(estimatedResult, withdraw, inv, thePG);  }