| org.cougaar.core.plugin.ComponentPlugin org.cougaar.mlm.plugin.assessor.ReadinessAssessorPlugin
Inner Class :protected class RateScheduleElement | |
Method Summary | |
protected double | average(Collection rses) | protected void | averageResults(ArrayList results, int denominator) divide each qty by the number of items added together to produce the qty. | protected ArrayList | calcResults(Task parentTask, HashMap tree, long start, long end) | public NewTask | createSubTask(Task parent, MaintainedItem pacing, Asset supplyType) | protected void | execute() | protected boolean | inRange(long startTime, long endTime, RateScheduleElement rse) | protected void | merge(ArrayList oldList, ArrayList newList) | protected void | mergeAdd(ArrayList runningTotalList, ArrayList newList) | protected AspectValue[] | newReadinessAspectArray(long startTime, long endTime, double readiness) | protected void | publishAddToExpansion(Task parent, Task subtask) | protected void | publishAllocationResult(Task task, List phasedResults) | public void | setLDMService(LDMService service) | protected void | setupSubscriptions() |
MILLISPERDAY | final protected static long MILLISPERDAY(Code) | | |
rollupSpan | protected long rollupSpan(Code) | | |
average | protected double average(Collection rses)(Code) | | find the average readiness of the RateScheduleElements in the collection *
|
averageResults | protected void averageResults(ArrayList results, int denominator)(Code) | | divide each qty by the number of items added together to produce the qty.
|
calcResults | protected ArrayList calcResults(Task parentTask, HashMap tree, long start, long end)(Code) | | an collection of AspectValue[] - part of a phased AllocationResult |
execute | protected void execute()(Code) | | |
inRange | protected boolean inRange(long startTime, long endTime, RateScheduleElement rse)(Code) | | |
merge | protected void merge(ArrayList oldList, ArrayList newList)(Code) | | pick the minimum readiness value of each phase
Parameters: oldList - min of previous phased results Parameters: newList - new phased result to merge in |
mergeAdd | protected void mergeAdd(ArrayList runningTotalList, ArrayList newList)(Code) | | add the readiness value of each phase
Parameters: runningTotalList - running total each phase of phased results Parameters: newList - new phased result to add to total |
newReadinessAspectArray | protected AspectValue[] newReadinessAspectArray(long startTime, long endTime, double readiness)(Code) | | |
publishAddToExpansion | protected void publishAddToExpansion(Task parent, Task subtask)(Code) | | |
publishAllocationResult | protected void publishAllocationResult(Task task, List phasedResults)(Code) | | |
setupSubscriptions | protected void setupSubscriptions()(Code) | | |
|
|