9#ifndef RADIO_ENVIRONMENT_MAP_HELPER_H
10#define RADIO_ENVIRONMENT_MAP_HELPER_H
12#include "ns3/object.h"
88 void RunOneIteration(
double xMin,
double xMax,
double yMin,
double yMax);
Keep track of the current position and velocity of an object.
Network layer to device interface.
Object()
Caller graph was not generated because of its size.
Smart pointer class similar to boost::intrusive_ptr.
~RadioEnvironmentMapHelper() override
void Install()
Deploy the RemSpectrumPhy objects that generate the map according to the specified settings.
uint16_t m_yRes
The YRes attribute.
static TypeId GetTypeId()
Register this type.
uint16_t m_xRes
The XRes attribute.
std::list< RemPoint > m_rem
List of listeners in the environment.
int32_t m_rbId
The RbId attribute.
Ptr< SpectrumChannel > m_channel
The Channel attribute, which is a direct pointer to the DL channel object for which will be created t...
std::ofstream m_outFile
Stream the output to a file.
bool m_useDataChannel
The UseDataChannel attribute.
double m_z
The Z attribute.
std::string m_outputFile
The OutputFile attribute.
double m_noisePower
The NoisePower attribute.
RadioEnvironmentMapHelper()
void SetBandwidth(uint16_t bw)
double m_yMin
The YMin attribute.
void Finalize()
Called when the map generation procedure has been completed.
void DoDispose() override
Destructor implementation.
uint16_t m_earfcn
The Earfcn attribute.
double m_xMax
The XMax attribute.
uint32_t m_maxPointsPerIteration
The MaxPointsPerIteration attribute.
double m_xStep
Distance along X axis between adjacent listening points.
void DelayedInstall()
Scheduled by Install() to perform the actual generation of map.
std::string m_channelPath
The ChannelPath attribute.
void PrintAndReset()
Go through every listener, write the computed SINR, and then reset it.
double m_xMin
The XMin attribute.
uint16_t m_bandwidth
The Bandwidth attribute.
uint16_t GetBandwidth() const
void RunOneIteration(double xMin, double xMax, double yMin, double yMax)
Mobilize all the listeners to a specified area.
double m_yStep
Distance along Y axis between adjacent listening points.
double m_yMax
The YMax attribute.
bool m_stopWhenDone
The StopWhenDone attribute.
This minimal SpectrumPhy implementation calculates the SINR with respect to the strongest signal for ...
Defines the interface for spectrum-aware channel implementations.
a unique identifier for an interface.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
A complete Radio Environment Map is composed of many of this structure.
Ptr< RemSpectrumPhy > phy
Simplified listener which compute SINR over the DL channel.
Ptr< MobilityModel > bmm
Position of the listener in the environment.