| org.cougaar.planning.plugin.legacy.SimplePlugin org.cougaar.mlm.plugin.sample.LoadAllocatorPlugin
LoadAllocatorPlugin | public class LoadAllocatorPlugin extends SimplePlugin (Code) | | Plugin to allocate Fuel and Ammunition Load and in theater Transport task.
At FSB, Load tasks are allocated to capacity object; Transport tasks are allocated
to FuelTransportProvider/AmmunitionTransportProvider aka MSB.
At MSB, Transport tasks are allocated to capacity object. Load tasks are unexpected
No tasks receive failed allocations.
If capacity is exceded, a SupportRequest task is issued. The resulsts of the SupportRequest
task are not checked. The plugin assumes that the task is successfull and the available
capacity is increased accordingly
|
execute | public void execute()(Code) | | |
setupSubscriptions | public void setupSubscriptions()(Code) | | |
|
|