| org.cougaar.planning.plugin.legacy.SimplePlugin org.cougaar.mlm.plugin.organization.GLSMiniAllocatorPlugin
GLSMiniAllocatorPlugin | public class GLSMiniAllocatorPlugin extends SimplePlugin (Code) | | Version of GLSAllocator without SD support, for use with minitestconfig, eg.
Handles GLS for subordinates tasks. We expand such tasks into
subtasks, one per subordinate. As our subordinates changes we
revise the expansion to follow.
|
allocGLSPred | public static UnaryPredicate allocGLSPred(Code) | | Select Tasks that are GETLOGSUPPORT FOR Asset where the Asset is
identified as "Subordinates"
|
myAllocsPred | public static UnaryPredicate myAllocsPred(Code) | | Select all the allocations we create. These are allocations of
GETLOGSUPPORT tasks whose parent task is selected by the
allocGLSPred
|
myExpsPred | public static UnaryPredicate myExpsPred(Code) | | Select the expansions we create. These are expansions of the
tasks selected by allocGLSPred.
|
execute | public synchronized void execute()(Code) | | Process new tasks and subordinates as follows: New tasks are
expanded to subtasks for each known subordinate. New
subordinates have tasks appended to known expansions.
Duplication is avoided when new tasks and new subordinates arrive
together because the expansions for the new tasks don't yet
exist.
|
setupSubscriptions | protected void setupSubscriptions()(Code) | | |
|
|