#include "ns3/buildings-module.h"#include "ns3/core-module.h"#include "ns3/mobility-module.h"#include "ns3/network-module.h"#include "ns3/spectrum-signal-parameters.h"#include "ns3/three-gpp-channel-model.h"#include "ns3/three-gpp-propagation-loss-model.h"#include "ns3/three-gpp-spectrum-propagation-loss-model.h"#include "ns3/uniform-planar-array.h"#include <fstream>Go to the source code of this file.
Classes | |
| struct | ComputeSnrParams |
| A structure that holds the parameters for the ComputeSnr function. More... | |
Functions | |
| static void | ComputeSnr (const ComputeSnrParams ¶ms) |
| Computes the SNR. | |
| static void | CreateQuasiOmniBf (Ptr< PhasedArrayModel > antenna) |
| Set QuasiOmni beamforming vector to the antenna array. | |
| void | PrintGnuplottableBuildingListToFile (std::string filename) |
| Generates a GNU-plottable file representing the buildings deployed in the scenario. | |
Variables | |
| static Ptr< ChannelConditionModel > | m_condModel |
| the ChannelConditionModel object | |
| static Ptr< ThreeGppPropagationLossModel > | m_propagationLossModel |
| the log component | |
| static Ptr< ThreeGppSpectrumPropagationLossModel > | m_spectrumLossModel |
| the SpectrumPropagationLossModel object | |
|
static |
Computes the SNR.
| params | A structure that holds a bunch of parameters needed by ComputeSnr function to calculate the average SNR |
Definition at line 160 of file three-gpp-channel-consistency-example.cc.
References ns3::Create(), ns3::Time::GetSeconds(), m_condModel, m_propagationLossModel, m_spectrumLossModel, ns3::Simulator::Now(), and ns3::Sum().
|
static |
Set QuasiOmni beamforming vector to the antenna array.
| antenna | the antenna array to which will be set quasi omni beamforming vector |
Definition at line 108 of file three-gpp-channel-consistency-example.cc.
| void PrintGnuplottableBuildingListToFile | ( | std::string | filename | ) |
Generates a GNU-plottable file representing the buildings deployed in the scenario.
| filename | the name of the output file |
Definition at line 201 of file three-gpp-channel-consistency-example.cc.
References ns3::BuildingList::Begin(), ns3::BuildingList::End(), NS_LOG_ERROR, ns3::Box::xMax, ns3::Box::xMin, ns3::Box::yMax, and ns3::Box::yMin.
|
static |
the ChannelConditionModel object
Definition at line 87 of file three-gpp-channel-consistency-example.cc.
|
static |
the log component
the PropagationLossModel object
Definition at line 83 of file three-gpp-channel-consistency-example.cc.
|
static |
the SpectrumPropagationLossModel object
Definition at line 85 of file three-gpp-channel-consistency-example.cc.