| org.cougaar.planning.ldm.plan.Composition
All known Subclasses: org.cougaar.planning.ldm.plan.CompositionImpl,
Composition | public interface Composition (Code) | | Composition Interface
An Composition represents the aggregation of multiple tasks
into a single task. Compositions are referenced by Aggregation PlanElements.
|
Method Summary | |
TaskScoreTable | calculateDistribution() Calculate seperate AllocationResults for each parent task of the Composition. | List | getAggregations() | MPTask | getCombinedTask() Returns the newly created task that represents all 'parent' tasks. | AllocationResultDistributor | getDistributor() Allows the AllocationResult to be properly dispersed among the
original (or parent) tasks. | List | getParentTasks() Convenienve method that calculates the Tasks that are
being aggregated by looking at all of the Aggregations. | boolean | isPropagating() Should all related Aggregations, and the combined task be rescinded
when a single parent task and its Aggregation is rescinded.
When false, and a single 'parent' Aggregation is rescinded,
the infrastructure removes references to that task/Aggregation in the
Composition and the combined MPTask. |
getParentTasks | List getParentTasks()(Code) | | Convenienve method that calculates the Tasks that are
being aggregated by looking at all of the Aggregations.
(Aggregation.getTask())
List See Also: org.cougaar.planning.ldm.plan.Task |
isPropagating | boolean isPropagating()(Code) | | Should all related Aggregations, and the combined task be rescinded
when a single parent task and its Aggregation is rescinded.
When false, and a single 'parent' Aggregation is rescinded,
the infrastructure removes references to that task/Aggregation in the
Composition and the combined MPTask. However, the Composition and combined
task are still valid as are the rest of the parent tasks/Aggregations that
made up the rest of the Composition.
Defaults to true.
set to false by NewComposition.setIsPropagating(isProp);
|
|
|