| org.cougaar.planning.ldm.plan.RoleSchedule
All known Subclasses: org.cougaar.planning.ldm.plan.RoleScheduleImpl,
RoleSchedule | public interface RoleSchedule extends Schedule(Code) | | A RoleSchedule is a representation of an asset's scheduled
commitments. These commitments(plan elements) are stored
in a Collection. RoleSchedules do not travel with an
asset across agent boundaries, therefore, the roleschedule
is only valid while that asset is assigned to the current agent.
|
addAspectValues | double addAspectValues(Collection elementsToAdd, int aspecttype)(Code) | | Convenience utility that adds the requested aspectvalues of the estimated
allocationresult of each PlanElement (RoleSchedule Element) in the given
collection.
If the requested aspecttype is not defined for any of the elements, nothing
will be added to the sum for that particular element.
This utility should be used to add aspecttypes like quantity, cost, etc.
The sum of the aspectvalues Parameters: elementsToAdd - A set of roleschedule elements (planelements) to add See Also: org.cougaar.planning.ldm.plan.AspectType |
getAsset | Asset getAsset()(Code) | | Asset the Asset of this roleschedule. |
getAvailableSchedule | Schedule getAvailableSchedule()(Code) | | The AvailableSchedule represents the time period that this asset
is assigned to a agent for use. It does not represent any usage
of this asset - that information is elsewhere in the RoleSchedule.
the schedule marking the availability time frame for the assetin this agent. |
getEncapsulatedRoleSchedule | Collection getEncapsulatedRoleSchedule(long start, long end)(Code) | | a sorted Collection containing planelementswhose estimatedschedule falls within the given date range. Parameters: start - Start time of the desired range. Parameters: end - End time of the desired range. |
getEqualAspectValues | Collection getEqualAspectValues(int aspecttype, double value)(Code) | | Parameters: aspecttype - The AspectType Parameters: value - The double representing value of the given AspectType a sorted Collection containing planelements witha given AspectType and value. |
getMatchingRoleElements | Collection getMatchingRoleElements(Role aRole)(Code) | | a time ordered Collection containing planelements with a given Role. Parameters: aRole - The Role to find |
getOverlappingRoleSchedule | Collection getOverlappingRoleSchedule(long start, long end)(Code) | | a sorted collection containing planelementswhose estimatedschedule overlaps with the given date range Parameters: start - Start time of overlapping range Parameters: end - End time of overlapping range |
getRoleScheduleElements | Enumeration getRoleScheduleElements()(Code) | | an Enumeration of PlanElements representing the entire roleschedule |
getScheduleElementsWithTime | Collection getScheduleElementsWithTime(long aDate)(Code) | | a time sorted Collection of planelements whichinclude this time. |
|
|