prioritization#

Collection of prioritization functions.

For compatibility with the Scheduler, the prioritization functions have to be of type Callable[[float, Job, int, int], float].

Author: Jendrik A. Potyka, Fabian A. Preiss

Functions

constant_weight_prioritization(time_delta, ...)

Interprets the Job's weight as its priority.

linear_priority_function(time_delta, job, ...)

Compute the Jobs default linear priority.

random_priority_function(time, job, ...)

Generate random priority values from weights.