7#include "nr-mac-scheduler-ns3.h"
52 return (lue.first->m_dlRBG.size() < rue.first->m_dlRBG.size());
71 return (lue.first->m_ulRBG.size() < rue.first->m_ulRBG.size());
Representation of a beam id.
std::pair< UePtr, uint32_t > UePtrAndBufferReq
Pair between a pointer to NrMacSchedulerUeInfo and its buffer occupancy.
The representation of an user for any Mac scheduler.
UE representation for a round-robin scheduler.
NrMacSchedulerUeInfoRR(uint16_t rnti, BeamId beamId, const GetRbPerRbgFn &fn)
NrMacSchedulerUeInfoRR constructor.
static bool CompareUeWeightsDl(const NrMacSchedulerNs3::UePtrAndBufferReq &lue, const NrMacSchedulerNs3::UePtrAndBufferReq &rue)
comparison function object (i.e. an object that satisfies the requirements of Compare) which returns ...
static bool CompareUeWeightsUl(const NrMacSchedulerNs3::UePtrAndBufferReq &lue, const NrMacSchedulerNs3::UePtrAndBufferReq &rue)
comparison function object (i.e. an object that satisfies the requirements of Compare) which returns ...