34 std::shared_ptr<CppsLoggerNs3> logger);
50 uint32_t assignment_counter = 0;
52 bool operator<(
const ParticipantInfoRoundRobin &other)
const {
53 return assignment_counter < other.assignment_counter;
55 bool operator>(
const ParticipantInfoRoundRobin &other)
const {
56 return assignment_counter > other.assignment_counter;
68 void distributeMFTasks(uint32_t index,
bool previously_allocated)
override;
78 std::shared_ptr<ParticipantInfoRoundRobin> chooseParticipantForTask(
84 void processAssignmentAcceptions(uint32_t index);
88 std::map<std::string, std::vector<material_flow::Task>> unallocated_tasks_per_mf_;
93 std::priority_queue<ParticipantInfoRoundRobin,
94 std::vector<ParticipantInfoRoundRobin>, std::greater<>>,
96 participants_per_ability_;