wrench::RandomInvocationOrderingPolicy

class RandomInvocationOrderingPolicy : public wrench::ServerlessInvocationOrderingPolicy

A serverless scheduling invocation ordering policy that orders the (schedulable) invocations in random order.

Public Functions

explicit RandomInvocationOrderingPolicy(unsigned int seed)

Constructor.

Parameters:

seed – The seed of the RNG

virtual void sortSchedulableInvocations(const std::shared_ptr<ServerlessSchedulingState> &scheduling_state) override

Method to sort the schedulable invocations in the scheduling state.

Parameters:

scheduling_state – the scheduling state