ns3::NodeDistributionScenario class

Represents a scenario with gnb (or base stations) and UEs (or users).

Please build the scenario in the constructor of the class, and create nodes in m_gNb and m_ue. Please initialize also a mobility model...

Derived classes

class HalfMatrixLayout
NOTE: That works only for horizontal placement of gnb.
class NoInterferenceNodeDistribution
No interference (or very little, depends) scenario (limited to 2 GNB and UE)
class SinglePairNodeScenario
The most easy node scenario: just one UE with one access point.
class VaryingInterferenceNodeDistribution
Raying interference scenario (limited to 2 GNB and UE)

Constructors, destructors, conversion operators

~NodeDistributionScenario() virtual
~Scenario

Public functions

auto GetGnbs() const -> const NodeContainer&
Get the list of gnb/base station nodes.
auto GetUes() const -> const NodeContainer&
Get the list of user nodes.

Protected variables

NodeContainer m_gNb
GNB (or base stations)
double m_gnbHeight
Height of gNB nodes.
NodeContainer m_ue
users
double m_ueHeight
Height of UE nodes.

Function documentation

const NodeContainer& ns3::NodeDistributionScenario::GetGnbs() const

Get the list of gnb/base station nodes.

Returns A NodeContainer with all the Gnb (or base stations)

const NodeContainer& ns3::NodeDistributionScenario::GetUes() const

Get the list of user nodes.

Returns A NodeContainer with all the users