wrench::RandomServerlessInvocationOrderingPolicy
-
class RandomServerlessInvocationOrderingPolicy : public wrench::ServerlessInvocationOrderingPolicy
A policy that orders the (schedulable) invocations in random order.
Public Functions
-
explicit RandomServerlessInvocationOrderingPolicy(unsigned int seed)
Constructor.
- Parameters:
seed – The seed of the RNG
Method to sort the schedulable invocations.
- Parameters:
scheduling_state – the scheduling state
invocations – the invocations
- Returns:
a sorted list of invocations
-
explicit RandomServerlessInvocationOrderingPolicy(unsigned int seed)