| java.lang.Object org.cougaar.glm.plugins.BasicProcessor org.cougaar.glm.plugins.inventory.InventoryProcessor org.cougaar.glm.plugins.inventory.InventoryManager
All known Subclasses: org.cougaar.glm.plugins.inventory.GeneralInventoryManager,
Inner Class :static class AllocToInventoryPredicate implements UnaryPredicate | |
Inner Class :static class ModifiedInventoryPredicate implements UnaryPredicate | |
REFILL_ADD_TASK | final public int REFILL_ADD_TASK(Code) | | |
REFILL_ALTER_TASK | final public int REFILL_ALTER_TASK(Code) | | |
REFILL_CHANGE_METHOD | final public int REFILL_CHANGE_METHOD(Code) | | |
REFILL_REPLACE_TASK | final public int REFILL_REPLACE_TASK(Code) | | |
daysBackward_ | protected int daysBackward_(Code) | | |
daysForward_ | protected int daysForward_(Code) | | |
daysOnHand_ | protected int daysOnHand_(Code) | | daysOnHand_ keep enough inventory on hand to cover N days of demand
daysForward_ When calculating average daily demand, look N days forward
from this day.
daysBackward_ When calculating average daily demand, look N days backward
from this day.
goalLevelMultiplier_ Multiplier for reorder level which yields goal level
|
forcePrintConcise | protected boolean forcePrintConcise(Code) | | |
goalLevelMultiplier_ | protected double goalLevelMultiplier_(Code) | | |
checkDeletionPolicy | protected void checkDeletionPolicy()(Code) | | Checks the current deletion policy and insures that it is
consistent with the current on hand policy. Generally, due out
tasks must not be deleted until the daysBackward_ days have
passed. The DeletionPolicy is created or updated to reflect
this.
|
convertScalarToDouble | protected static double convertScalarToDouble(Scalar measure)(Code) | | Given a Scalar, return a double value representing
Gallons for Volume,
Eaches for Count and
Short Tons for Mass.
|
createRefillQuantityPreference | protected Preference createRefillQuantityPreference(double refill_qty)(Code) | | |
defaultRefillEndTime | public long defaultRefillEndTime(long time, Inventory inv)(Code) | | |
getAmountRequested | protected double getAmountRequested(Task task)(Code) | | a double indicating the amount requests by the task (in terms of the standard unit of measure for the item) |
getMaxReorderLevel | protected double getMaxReorderLevel(Inventory inventory)(Code) | | |
getMinReorderLevel | protected double getMinReorderLevel(Inventory inventory)(Code) | | |
handleGLSRescind | protected void handleGLSRescind()(Code) | | method called from update when a GLS Rescind is detected. This
is an entry point for any additional handling by subclasses.
|
ignoreSmallIncrement | protected double ignoreSmallIncrement(double increment, double x)(Code) | | |
newScalarFromOldToDouble | protected static Scalar newScalarFromOldToDouble(Scalar old, double newVal)(Code) | | |
update | public void update()(Code) | | This method is called everytime a subscription has changed.
|
updateInventoryPolicy | protected boolean updateInventoryPolicy(Enumeration policies)(Code) | | Update the current InventoryPolicy
|
Methods inherited from org.cougaar.glm.plugins.BasicProcessor | public String arDesc(AllocationResult ar)(Code)(Java Doc) public AllocationResult buildExpansionResult(Expansion expansion)(Code)(Java Doc) public AllocationResult buildExpansionResult(Expansion expansion, boolean like_tasks)(Code)(Java Doc) public NewTask buildNewTask(Task input_task, String output_verb, Asset direct_object)(Code)(Java Doc) public Task buildTask(Task input_task, String output_verb, Asset direct_object, PrepositionalPhrase pp)(Code)(Java Doc) public Task buildTask(Task input_task, String output_verb, Asset direct_object, Vector preposition_phrases)(Code)(Java Doc) public Task buildTask(Task input_task, String output_verb, Asset direct_object, Vector preposition_phrases, Preference pref)(Code)(Java Doc) public Task buildTask(Task input_task, String output_verb, Asset direct_object, Vector preposition_phrases, Enumeration prefs)(Code)(Java Doc) public Task buildTask(Task input_task, String output_verb, Asset direct_object, Enumeration prefs)(Code)(Java Doc) public Workflow buildWorkflow(Task parent, Vector subtasks)(Code)(Java Doc) public Workflow buildWorkflow(Task parent, Task task)(Code)(Java Doc) protected Task changeTask(Task prev_task, Task new_task)(Code)(Java Doc) public Preference createDateAfterPreference(int aspect, long value)(Code)(Java Doc) public Preference createDateBeforePreference(int aspect, long value)(Code)(Java Doc) public AllocationResult createEstimatedAllocationResult(Task t)(Code)(Java Doc) public Preference createPreference(int aspect, double value)(Code)(Java Doc) public Preference createQuantityPreference(int aspect, double value)(Code)(Java Doc) protected Enumeration diffProjections(Schedule published_schedule, Schedule newtask_schedule)(Code)(Java Doc) public long getAlpTime()(Code)(Java Doc) public boolean isSubscriptionChanged(IncrementalSubscription sub)(Code)(Java Doc) public static Schedule newObjectSchedule(Enumeration tasks)(Code)(Java Doc) public PrepositionalPhrase newPrepositionalPhrase(String preposition, Object io)(Code)(Java Doc) public PrepositionalPhrase newPrepositionalPhrase(String preposition)(Code)(Java Doc) public NewWorkflow newWorkflow(Task parent)(Code)(Java Doc) protected String printProjection(String msg, Task task)(Code)(Java Doc) protected void publishAddTask(Task task)(Code)(Java Doc) protected boolean publishAllocation(Task task, Asset asset, org.cougaar.planning.ldm.plan.Role role)(Code)(Java Doc) protected boolean publishAllocation(Task task, Asset asset, Role role, AllocationResult ar)(Code)(Java Doc) protected boolean publishAllocation(Task task, Asset asset, Role role, AllocationResult ar, boolean needAR)(Code)(Java Doc) protected void publishAsset(Asset asset)(Code)(Java Doc) protected void publishChangeAsset(Asset asset)(Code)(Java Doc) protected void publishChangeTask(Task task)(Code)(Java Doc) protected void publishExpansion(Task parent, Vector tasks)(Code)(Java Doc) protected void publishFailedDisposition(Task task, AllocationResult ar)(Code)(Java Doc) protected void publishRemoveAllocation(Allocation alloc)(Code)(Java Doc) protected void publishRemoveAsset(Asset asset)(Code)(Java Doc) protected void publishRemoveExpansion(Expansion exp)(Code)(Java Doc) protected void publishRemoveTask(Task task)(Code)(Java Doc) public String qseString(QuantityScheduleElement qse)(Code)(Java Doc) protected void setEndTimePreference(NewTask task, long end)(Code)(Java Doc) protected void setStartTimePreference(NewTask task, long start)(Code)(Java Doc) protected IncrementalSubscription subscribe(UnaryPredicate predicate)(Code)(Java Doc) protected String taskKey(Task t)(Code)(Java Doc) abstract public void update()(Code)(Java Doc) public void updateAllocationResult(PlanElement pe)(Code)(Java Doc) protected void updateExpansionResult(Enumeration planelements)(Code)(Java Doc)
|
|
|