![]() |
5G-LENA nr-v4.0
The 5G/NR module for the ns-3 simulator
|
The KroneckerBeamforming class. More...
#include "ideal-beamforming-algorithm.h"
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 TypeId | GetTypeId () |
Get the type id. | |
The KroneckerBeamforming class.
Definition at line 247 of file ideal-beamforming-algorithm.h.
|
overridevirtual |
Function that generates the beamforming vectors for a pair of communicating devices by using kronecker method for both gNB and UE device.
[in] | gnbSpectrumPhy | the spectrum phy of the gNB |
[in] | ueSpectrumPhy | the spectrum phy of the UE device |
Implements ns3::IdealBeamformingAlgorithm.
Definition at line 533 of file ideal-beamforming-algorithm.cc.
References ns3::NrSpectrumValueHelper::CreateTxPowerSpectralDensity().
std::vector< double > ns3::KroneckerBeamforming::GetColRxBeamAngles | ( | ) | const |
Definition at line 509 of file ideal-beamforming-algorithm.cc.
std::vector< double > ns3::KroneckerBeamforming::GetColTxBeamAngles | ( | ) | const |
Definition at line 515 of file ideal-beamforming-algorithm.cc.
std::vector< double > ns3::KroneckerBeamforming::GetRowRxBeamAngles | ( | ) | const |
Definition at line 521 of file ideal-beamforming-algorithm.cc.
std::vector< double > ns3::KroneckerBeamforming::GetRowTxBeamAngles | ( | ) | const |
Definition at line 527 of file ideal-beamforming-algorithm.cc.
|
static |
Get the type id.
Definition at line 476 of file ideal-beamforming-algorithm.cc.
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.
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.
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.
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.