wrench::SelectAllPossibleServerlessNodeSelectionPolicy

class SelectAllPossibleServerlessNodeSelectionPolicy : public wrench::ServerlessNodeSelectionPolicy

A class that implements a serverless scheduling node selection policy that returns all compute nodes on which an invocation could be executed.

Public Functions

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

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