5G-LENA nr-v3.0-32-g83aee33
The 5G/NR module for the ns-3 simulator
No Matches
ns3::BwpManagerAlgorithm Class Referenceabstract

Interface for a Bwp selection algorithm based on the bearer. More...

#include "bwp-manager-algorithm.h"

+ Inheritance diagram for ns3::BwpManagerAlgorithm:
+ Collaboration diagram for ns3::BwpManagerAlgorithm:

Public Member Functions

 BwpManagerAlgorithm ()=default
 ~BwpManagerAlgorithm () override=default
virtual uint8_t GetBwpForEpsBearer (const EpsBearer::Qci &v) const =0
 Get the bandwidth part id for the Qci specified.

Static Public Member Functions

static TypeId GetTypeId ()

Detailed Description

Interface for a Bwp selection algorithm based on the bearer.

At the moment, we provide only a static algorithm that has to be configured before the simulation starts (BwpManagerAlgorithmStatic).


The algorithm can be set, before the scenario creation, through the helper method NrHelper::SetGnbBwpManagerAlgorithmTypeId(). It is also possible to set attributes, through NrHelper::SetGnbBwpManagerAlgorithmAttribute().

For the UE, the methods to use are, respectively, NrHelper::SetUeBwpManagerAlgorithmTypeId() and NrHelper::SetUeBwpManagerAlgorithmAttribute().

See also

Config Paths

ns3::BwpManagerAlgorithm is accessible through the following paths with Config::Set and Config::Connect:

No Attributes are defined for this type.
No TraceSources are defined for this type.
Size of this type is 32 bytes (on a 64-bit architecture).

Definition at line 38 of file bwp-manager-algorithm.h.

Constructor & Destructor Documentation

◆ ~BwpManagerAlgorithm()

ns3::BwpManagerAlgorithm::~BwpManagerAlgorithm ( )


Member Function Documentation

◆ GetBwpForEpsBearer()

virtual uint8_t ns3::BwpManagerAlgorithm::GetBwpForEpsBearer ( const EpsBearer::Qci &  v) const
pure virtual

Get the bandwidth part id for the Qci specified.

vthe qci
the bwp id that the algorithm selects for the qci specified

Implemented in ns3::BwpManagerAlgorithmStatic.

◆ GetTypeId()

TypeId ns3::BwpManagerAlgorithm::GetTypeId ( )


The TypeId of the object

Definition at line 18 of file bwp-manager-algorithm.cc.

The documentation for this class was generated from the following files: