摘要 |
<p>Provided is a method for scheduling activities. The method includes receiving an activity having a designated priority, a life span, a preferred implementation time, and a scheduling time budget. The schedule is searched to determine the availability of the preferred implementation time and amount of available execution time. The activity is inserted in the schedule if the preferred implementation time if the time is available and life span is less than or equal to available execution time. If the implementation time is unavailable or the life span is greater than the available execution time, the schedule is modified. Modification of the schedule preserves scheduled activities with equal or higher priority. The method will exit when the activity is scheduled or the elapsed scheduling time exceeds the scheduling time budget.</p> |