Method Summary |
|
public int | addDueIn(Task refillTask) |
public void | addInventoryReport(InventoryReport newInventoryReport) |
public int | addPreviousRefillsToInventory(Task maintainInv) |
public int | clearContentSchedule(Inventory inventory) |
public int | clearInventoryLevelsSchedule(Inventory inventory) |
protected void | computeDemandSchedule() |
protected void | computeDemandSchedule(int daysOfDemand, int daysForward, int daysBackward) Compute a schedule of the NDaysOfDemand using and averaging
window put the results in the a schedule. |
public void | computeThresholdSchedule(int daysOfDemand, int daysForward, int daysBackward, double minReorderLevel, double maxReorderLevel, double goalLevelMultiplier) |
public long | convertDayToTime(int day) |
public int | convertTimeToDay(long time) Convert a time (long) into a day of this inventory that can be
used to index duein/out vectors, levels, etc. |
public PGDelegate | copy(PropertyGroup pg) |
public int | determineInventoryLevels() |
public Enumeration | getAllDueIns() |
public Integer | getFirstOverflow(int i, MessageAddress cluster) |
public int | getFirstPlanningDay() |
public double | getGoalLevel(int day) |
public int | getImputedDay(int day) |
public int | getImputedDayOfTime(long time) |
public InventoryReport | getLatestInventoryReport() |
public Scalar | getLevel(long time) |
public Scalar | getLevel(int day) Get inventory level on a particular day relative to the start
time of the inventory. |
public DueOut | getLowestPriorityDueOutBeforeDay(int end) |
public double | getNDaysDemand(int day) |
public InventoryReport | getOldestInventoryReport() |
public int | getPlanningDays() |
public Scalar | getProjected(int day) |
public Scalar | getProjectedRefill(int day) |
public ProjectionWeight | getProjectionWeight() |
public Task | getRefillOnDay(int day) Get _the_ refill for a particular day. |
public double | getReorderLevel(int day) |
public long | getStartOfDay(int day) |
public long | getStartTime() |
public int | getToday() |
protected double | getTotalValidDueOuts(int day) |
protected void | initializeInventoryLevels() |
public Date | lastDemandTaskEnd(Inventory inventory) |
public int | printInventoryLevels(Inventory inventory, MessageAddress clusterID) |
public int | printQuantityScheduleTimes(Schedule sched) |
public void | pruneOldInventoryReports(long pruneTime) Remove inventory reports older than a specified time. |
public Task | refillAlreadyFailedOnDay(int day) |
public int | removeDueIn(Task refillTask) |
public void | removeRefillProjection(int day) |
public int | resetInventory(Inventory inventory, long today) |
public void | setDueOutFilled(DueOut dueOut, boolean newFilled) |
public void | setProjectionWeight(ProjectionWeight weight) |
public int | updateContentSchedule(Inventory inventory) |
public int | updateDetailedContentSchedule(Inventory inventory) |
public List | updateDueOutAllocations() Update the allocations results of all the allocations of
DueOuts for this inventory. |
public int | updateInventoryLevelsSchedule(Inventory inventory) |
public int | withdrawFromInventory(Inventory inventory, MessageAddress clusterID) Record all demand tasks as dueouts. |