| org.cougaar.lib.vishnu.client.VishnuAggregatorPlugin org.cougaar.logistics.plugin.trans.TransportAggregatorPlugin
TransportAggregatorPlugin | public class TransportAggregatorPlugin extends VishnuAggregatorPlugin (Code) | | Note that although this is an aggregator, an expansion is made and subtasks created.
This is because after the aggregation, the setup and wrapup times must be represented.
They are represented as separate tasks with verb "Transit". They represent the time
taken to travel from the supply point and to return. They should not be figured into
the time that the task takes to perform, since they are only indirectly related to it.
If the specs were altered, and no setup and wrapup duration were included, only aggregations
would be made, and therefore only MPTask would be produced. The allocator downstream
would have to be sensitive to this change.
|
debugPrefs | boolean debugPrefs(Code) | | |
interestingAsset | public boolean interestingAsset(Asset a)(Code) | | only trucks, which have contain pgs, are given to Vishnu
|
interestingTask | public boolean interestingTask(Task t)(Code) | | Only tasks with transport verbs are given to Vishnu
If a task has no FROM prep, it is not handled.
If a task has a FROM prep that is in CONUS, it is not handled.
If a task is an MPTask (and possibly an output of the plugin), it is not handled.
|
Methods inherited from org.cougaar.lib.vishnu.client.VishnuAggregatorPlugin | protected void addAggregations(NewComposition comp, Vector parentTasks, Date start, Date end)(Code)(Java Doc) protected AssetGroup addToDirectObject(Task task, Vector objects)(Code)(Java Doc) public boolean addToPrevious(Vector tasklist, Asset anAsset, Date start, Date end, Date setupStart, Date wrapupEnd)(Code)(Java Doc) protected void addToPreviousSetupWrapup(Asset anAsset, Asset directObject, Date start, Date end, String info)(Code)(Java Doc) public void changeExpansion(Expansion exp)(Code)(Java Doc) protected void checkMPTaskDO(MPTask mpTask)(Code)(Java Doc) protected void cleanupAggregation(Asset a, List tasklist, List aggResults)(Code)(Java Doc) protected UTILAggregationCallback createAggCallback()(Code)(Java Doc) protected UTILFilterCallback createThreadCallback(UTILGenericListener bufferingThread)(Code)(Java Doc) protected XMLResultHandler createXMLResultHandler()(Code)(Java Doc) protected Vector enumToVector(Enumeration en)(Code)(Java Doc) protected MPTask findMPTask(List results)(Code)(Java Doc) protected boolean forgetTripletToTask(Object subtask)(Code)(Java Doc) protected AspectValue[] getAVsForAgg(Asset a, List g, Date start, Date end)(Code)(Java Doc) protected UTILAggregationCallback getAggCallback()(Code)(Java Doc) protected Map getAspectValuesMap(List g, Date start, Date end)(Code)(Java Doc) protected Asset getAssetFromMPTask(MPTask combinedTask)(Code)(Java Doc) protected Vector getDirectObjectsForAgg(List parentTasks)(Code)(Java Doc) protected Task getEncapsulatedTask(Asset asset, Date start, Date end)(Code)(Java Doc) protected Enumeration getEnumWithNewParents(Vector oldParents, Vector tasklist)(Code)(Java Doc) protected MPTask getMPTask(UID parentUID)(Code)(Java Doc) protected Vector getPreferencesForAgg(Asset a, List g, Date start, Date end)(Code)(Java Doc) protected Vector getPrepPhrasesForAgg(Asset a, List g)(Code)(Java Doc) protected Verb getVerbForAgg(List g)(Code)(Java Doc) protected UTILFilterCallback getWorkflowCallback()(Code)(Java Doc) public void handleConstraintViolation(Expansion exp, List violatedConstraints)(Code)(Java Doc) public void handleFailedExpansion(Expansion exp, List failedSubTasks)(Code)(Java Doc) public void handleIllFormedTask(Task t)(Code)(Java Doc) public void handleMultiAssignment(Vector tasks, Asset asset, Date start, Date end, Date setupStart, Date wrapupEnd, boolean assetWasUsedBefore)(Code)(Java Doc) public void handleRemovedAggregation(Aggregation agg)(Code)(Java Doc) public boolean handleRescindedAggregation(Aggregation agg)(Code)(Java Doc) public void handleSuccessfulAggregation(Aggregation agg)(Code)(Java Doc) public void handleSuccessfulExpansion(Expansion exp, List successfulSubtasks)(Code)(Java Doc) public boolean interestingExpandedTask(Task t)(Code)(Java Doc) public boolean interestingParentTask(Task t)(Code)(Java Doc) public void localSetup()(Code)(Java Doc) protected AspectValue[] makeAVsFromPrefs(Vector prefs)(Code)(Java Doc) protected AspectValue[] makeAVsFromPrefs(Vector prefs, Date start, Date end)(Code)(Java Doc) public void makePlanElement(Vector tasklist, Asset anAsset, Date start, Date end, Date setupStart, Date wrapupEnd, boolean assetWasUsedBefore)(Code)(Java Doc) public boolean needToRescind(Aggregation agg)(Code)(Java Doc) public void publishChangedExpansion(Expansion exp)(Code)(Java Doc) protected void publishList(List toPublish)(Code)(Java Doc) public void publishRemovalOfAggregation(Aggregation aggToRemove)(Code)(Java Doc) protected void rememberTripletToTask(String taskKey, Task subtask)(Code)(Java Doc) protected AssetGroup removeFromDirectObject(Task removedTask, MPTask mpTask)(Code)(Java Doc) public void reportChangedAggregation(Aggregation agg)(Code)(Java Doc) public void reportChangedExpansion(Expansion exp)(Code)(Java Doc) public void setupFilters()(Code)(Java Doc) public boolean wantToChangeExpansion(Expansion exp)(Code)(Java Doc)
|
|
|