wrench::RandomServerlessPlanSelectionPolicy
-
class RandomServerlessPlanSelectionPolicy : public wrench::ServerlessPlanSelectionPolicy
A policy that selects the plan randomly.
Public Functions
-
explicit RandomServerlessPlanSelectionPolicy(unsigned int seed)
Constructor.
- Parameters:
seed – The seed of the RNG
Select the node that has the best invocation plan.
- Parameters:
plans – a map of plans
- Returns:
a compute node
Select the node that has the best layer-copy plan.
- Parameters:
plans – a map of plans
- Returns:
a compute node
Select the node that has the best layer-load plan.
- Parameters:
plans – a map of plans
- Returns:
a compute node
-
explicit RandomServerlessPlanSelectionPolicy(unsigned int seed)