| java.lang.Object org.cougaar.logistics.plugin.packer.DefaultPreferenceAggregator
DefaultPreferenceAggregator | public class DefaultPreferenceAggregator implements PreferenceAggregator(Code) | | This is the PreferenceAggregator used by the packer created by
HTC. The set of preferences it creates is set up to meet the
needs of the TOPS MCCGlobalMode cluster that will be receiving
the tasks the packer creates.
|
Method Summary | |
public ArrayList | aggregatePreferences(Iterator tasks, PlanningFactory rootFactory) Will create a preference as follows:
START_TIME should be at or greater than 0.0
END_TIME should be bracketed around the earliest END_TIME of
the input tasks and
QUANTITY should be set at the sum of the quantities of the
input tasks. |
DefaultPreferenceAggregator | public DefaultPreferenceAggregator(AlarmService alarmService)(Code) | | |
aggregatePreferences | public ArrayList aggregatePreferences(Iterator tasks, PlanningFactory rootFactory)(Code) | | Will create a preference as follows:
START_TIME should be at or greater than 0.0
END_TIME should be bracketed around the earliest END_TIME of
the input tasks and
QUANTITY should be set at the sum of the quantities of the
input tasks.
|
|
|