5G-LENA nr-v4.0
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
ns3::KroneckerBeamforming Class Reference

The KroneckerBeamforming class. More...

#include "ideal-beamforming-algorithm.h"

+ Inheritance diagram for ns3::KroneckerBeamforming:
+ Collaboration diagram for ns3::KroneckerBeamforming:

Public Member Functions

 KroneckerBeamforming ()=default
 constructor
 
 ~KroneckerBeamforming () override=default
 destructor
 
BeamformingVectorPair GetBeamformingVectors (const Ptr< NrSpectrumPhy > &gnbSpectrumPhy, const Ptr< NrSpectrumPhy > &ueSpectrumPhy) const override
 Function that generates the beamforming vectors for a pair of communicating devices by using kronecker method for both gNB and UE device.
 
std::vector< double > GetColRxBeamAngles () const
 
std::vector< double > GetColTxBeamAngles () const
 
std::vector< double > GetRowRxBeamAngles () const
 
std::vector< double > GetRowTxBeamAngles () const
 
void SetColRxBeamAngles (std::vector< double > colAngles)
 Sets the value of BeamColAngles of Rx attribute.
 
void SetColTxBeamAngles (std::vector< double > colAngles)
 Sets the value of BeamColAngles of Tx attribute.
 
void SetRowRxBeamAngles (std::vector< double > rowAngles)
 Sets the value of BeamRowAngles of Rx attribute.
 
void SetRowTxBeamAngles (std::vector< double > rowAngles)
 Sets the value of BeamRowAngles of Tx attribute.
 

Static Public Member Functions

static TypeId GetTypeId ()
 Get the type id.
 
- Static Public Member Functions inherited from ns3::IdealBeamformingAlgorithm
static TypeId GetTypeId ()
 Get the type id.
 

Detailed Description

The KroneckerBeamforming class.

Definition at line 247 of file ideal-beamforming-algorithm.h.

Member Function Documentation

◆ GetBeamformingVectors()

BeamformingVectorPair ns3::KroneckerBeamforming::GetBeamformingVectors ( const Ptr< NrSpectrumPhy > &  gnbSpectrumPhy,
const Ptr< NrSpectrumPhy > &  ueSpectrumPhy 
) const
overridevirtual

Function that generates the beamforming vectors for a pair of communicating devices by using kronecker method for both gNB and UE device.

Parameters
[in]gnbSpectrumPhythe spectrum phy of the gNB
[in]ueSpectrumPhythe spectrum phy of the UE device
Returns
the beamforming vector pair of the gNB and the UE

Implements ns3::IdealBeamformingAlgorithm.

Definition at line 533 of file ideal-beamforming-algorithm.cc.

References ns3::NrSpectrumValueHelper::CreateTxPowerSpectralDensity().

+ Here is the call graph for this function:

◆ GetColRxBeamAngles()

std::vector< double > ns3::KroneckerBeamforming::GetColRxBeamAngles ( ) const
Returns
Gets value of BeamColAngles of Rx attribute

Definition at line 509 of file ideal-beamforming-algorithm.cc.

◆ GetColTxBeamAngles()

std::vector< double > ns3::KroneckerBeamforming::GetColTxBeamAngles ( ) const
Returns
Gets value of BeamColAngles of Tx attribute

Definition at line 515 of file ideal-beamforming-algorithm.cc.

◆ GetRowRxBeamAngles()

std::vector< double > ns3::KroneckerBeamforming::GetRowRxBeamAngles ( ) const
Returns
Gets value of BeamRowAngles of Rx attribute

Definition at line 521 of file ideal-beamforming-algorithm.cc.

◆ GetRowTxBeamAngles()

std::vector< double > ns3::KroneckerBeamforming::GetRowTxBeamAngles ( ) const
Returns
Gets value of BeamRowAngles of Tx attribute

Definition at line 527 of file ideal-beamforming-algorithm.cc.

◆ GetTypeId()

TypeId ns3::KroneckerBeamforming::GetTypeId ( )
static

Get the type id.

Returns
the type id of the class

Definition at line 476 of file ideal-beamforming-algorithm.cc.

◆ SetColRxBeamAngles()

void ns3::KroneckerBeamforming::SetColRxBeamAngles ( std::vector< double >  colAngles)

Sets the value of BeamColAngles of Rx attribute.

Definition at line 485 of file ideal-beamforming-algorithm.cc.

◆ SetColTxBeamAngles()

void ns3::KroneckerBeamforming::SetColTxBeamAngles ( std::vector< double >  colAngles)

Sets the value of BeamColAngles of Tx attribute.

Definition at line 491 of file ideal-beamforming-algorithm.cc.

◆ SetRowRxBeamAngles()

void ns3::KroneckerBeamforming::SetRowRxBeamAngles ( std::vector< double >  rowAngles)

Sets the value of BeamRowAngles of Rx attribute.

Definition at line 497 of file ideal-beamforming-algorithm.cc.

◆ SetRowTxBeamAngles()

void ns3::KroneckerBeamforming::SetRowTxBeamAngles ( std::vector< double >  rowAngles)

Sets the value of BeamRowAngles of Tx attribute.

Definition at line 503 of file ideal-beamforming-algorithm.cc.


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