Home | Trees | Indices | Help |
---|
|
An availability window
A particularly important operation with the slot table is determining the "availability window" of resources starting at a given time. In a nutshell, an availability window provides a convenient abstraction over the slot table, with methods to answer questions like "If I want to start a least at time T, are there enough resources available to start the lease?" "Will those resources be available until time T+t?" "If not, what's the longest period of time those resources will be available?" etc.
AvailabilityWindow objects are not meant to be created directly, and should be created through the SlotTable's get_availability_window method.
|
|||
|
|||
ResourceTuple |
|
||
OngoingAvailability |
|
||
list of int
|
|
||
|
|||
list of Leases
|
|
||
DateTimeDelta
|
|
||
Inherited from |
|
|||
Inherited from |
|
Constructor An availability window starts at a specific time, provided to the constructor.
|
Determines the available capacity at a given time and node
|
Determines the available capacity from a given time onwards. This method returns an OngoingAvailability object (see that class's documentation for more details)
|
Get all the nodes at a given time.
|
Get leases scheduled on a node at a given time.
|
Get all the leases scheduled in an interval. This interval is semi-closed: It includes the start time but not the end time of the interval.
|
Determine how much longer the capacity in a node will last, starting at a given time.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Dec 17 10:59:22 2009 | http://epydoc.sourceforge.net |