| java.lang.Object org.cougaar.planning.ldm.plan.SimpleAspectValueARA
SimpleAspectValueARA | public class SimpleAspectValueARA implements AllocationResultAggregator(Code) | | Simple Aggregator for AllocationResults specified with AspectValues.
Particularly useful for results with TypedQuantityAspects.
Does the right computation for workflows which are made up of
equally important tasks with no inter-task constraints.
START_TIME is minimized.
END_TIME is maximized.
DURATION is overall END_TIME - overall START_TIME.
COST is summed.
DANGER is maximized.
RISK is maximized.
QUANTITY is summed.
INTERVAL is summed.
TOTAL_QUANTITY is summed.
TOTAL_SHIPMENTS is summed.
CUSTOMER_SATISFACTION is averaged.
TYPED_QUANTITY is summed for each type(asset).
For AuxiliaryQuery information, if all the query values are the same
across subtasks or one subtask has query info it will be place in the
aggregate result. However, if there are conflicting query values, no
information will be put in the aggregated result.
returns null when there are no subtasks or any task has no result.
|
|
|