| java.lang.Object org.cougaar.logistics.plugin.demand.DemandGeneratorModule org.cougaar.logistics.plugin.demand.DemandTaskGenerator
All known Subclasses: org.cougaar.logistics.plugin.demand.DemandGeneratorInputModule,
Method Summary | |
protected boolean | addToAndPublishExpansion(Task parent, Collection subtasks) | protected void | checkForOrphans(Task gpTask) | protected Vector | createDemandPreferences(long start, long end, double qty) | protected NewTask | createNewDemandTask(Task parentTask, Task projTask, Asset consumed, long start, long end, double qty) | protected Preference | createTimeScoringFunctionPref(long bestTime, int aspectType) | protected double | deriveTotalQty(long bucketStart, long bucketEnd, Collection projTasks) | public List | generateDemandTasks(long start, long duration, Collection relevantProjectSupplys, Collection relevantSupplys) | protected double | getBaseUnitPerSecond(Rate rate) | protected void | regenerateProjectionHash(Collection tasks) | protected void | regenerateSupplyHash(Collection tasks) | protected void | regenerateTaskHash(Collection tasks, HashMap hash) |
addToAndPublishExpansion | protected boolean addToAndPublishExpansion(Task parent, Collection subtasks)(Code) | | |
checkForOrphans | protected void checkForOrphans(Task gpTask)(Code) | | |
createDemandPreferences | protected Vector createDemandPreferences(long start, long end, double qty)(Code) | | Geographic location of this organization at specifed time.TODO: MWD Removepublic GeolocLocation getGeolocLocation(long time, Organization myOrg) {Enumeration geolocs =getAssetUtils().getGeolocLocationAtTime(myOrg, time);if (geolocs.hasMoreElements()) {return ((GeolocLocation) geolocs.nextElement());}return null;} |
createNewDemandTask | protected NewTask createNewDemandTask(Task parentTask, Task projTask, Asset consumed, long start, long end, double qty)(Code) | | |
createTimeScoringFunctionPref | protected Preference createTimeScoringFunctionPref(long bestTime, int aspectType)(Code) | | |
deriveTotalQty | protected double deriveTotalQty(long bucketStart, long bucketEnd, Collection projTasks)(Code) | | |
generateDemandTasks | public List generateDemandTasks(long start, long duration, Collection relevantProjectSupplys, Collection relevantSupplys)(Code) | | Generate actual demand tasks from the passed in projections
|
getBaseUnitPerSecond | protected double getBaseUnitPerSecond(Rate rate)(Code) | | |
regenerateProjectionHash | protected void regenerateProjectionHash(Collection tasks)(Code) | | |
|
|