wrench::ServerlessNodeSelectionPolicy

class ServerlessNodeSelectionPolicy : public wrench::ServerlessSchedulingPolicy

An abstract class to implement a serverless scheduling node selection policy.

Subclassed by wrench::SelectAllPossibleServerlessNodeSelectionPolicy

Public Functions

virtual std::set<std::shared_ptr<ServerlessComputeNode>> selectCandidateNodes(const std::shared_ptr<ServerlessSchedulingState> &scheduling_state, const std::shared_ptr<Invocation> &invocation) = 0

Select a set of candidate nodes for an invocation.

Parameters:
  • scheduling_state – the scheduling state

  • invocation – the invocation to schedule

Returns:

a set of compute nodes