22#ifndef LTE_TEST_DOWNLINK_FR_H
23#define LTE_TEST_DOWNLINK_FR_H
26#include "ns3/spectrum-value.h"
27#include <ns3/lte-rrc-sap.h>
29#include "ns3/spectrum-test.h"
30#include "ns3/lte-spectrum-value-helper.h"
67 uint32_t userNum,uint16_t dlBandwidth,uint16_t ulBandwidth,
68 std::vector<bool> availableDlRb, std::vector<bool> availableUlRb);
83 virtual void DoRun (
void);
123 std::string schedulerType,
124 uint16_t dlBandwidth, uint16_t ulBandwidth,
125 uint8_t dlSubBandOffset, uint16_t dlSubBandwidth,
126 uint8_t ulSubBandOffset, uint16_t ulSubBandwidth,
127 std::vector<bool> availableDlRb, std::vector<bool> availableUlRb);
131 virtual void DoRun (
void);
170 std::string schedulerType,
171 uint16_t dlBandwidth, uint16_t ulBandwidth,
172 uint16_t dlCommonSubBandwidth, uint8_t dlEdgeSubBandOffset, uint16_t dlEdgeSubBandwidth,
173 uint16_t ulCommonSubBandwidth, uint8_t ulEdgeSubBandOffset, uint16_t ulEdgeSubBandwidth,
174 std::vector<bool> availableDlRb, std::vector<bool> availableUlRb);
178 virtual void DoRun (
void);
246 std::vector<bool> expectedDlRb);
262 virtual void DoRun (
void);
303 virtual void DoRun (
void);
325 virtual void DoRun (
void);
348 virtual void DoRun (
void);
371 virtual void DoRun (
void);
394 virtual void DoRun (
void);
Lte Distributed Ffr Area Test Case.
virtual void DoRun(void)
Implementation to actually run this TestCase.
virtual ~LteDistributedFfrAreaTestCase()
LteDistributedFfrAreaTestCase(std::string name, std::string schedulerType)
Constructor.
Lte Enhanced Ffr Area Test Case.
virtual ~LteEnhancedFfrAreaTestCase()
virtual void DoRun(void)
Implementation to actually run this TestCase.
LteEnhancedFfrAreaTestCase(std::string name, std::string schedulerType)
Constructor.
Test frequency reuse algorithm by teleporing UEs to different parts of area and checking if the frequ...
Time m_teleportTime
the telport time
LteFrAreaTestCase(std::string name, std::string schedulerType)
Constructor.
bool m_usedWrongUlRbg
used wrong UL RBG?
std::vector< bool > m_expectedDlRb
the expected DL per RB
void SimpleTeleportUe(uint32_t x, uint32_t y)
Simple teleport UE function.
virtual void DoRun(void)
Implementation to actually run this TestCase.
virtual ~LteFrAreaTestCase()
uint16_t m_ulBandwidth
the UL bandwidth
uint16_t m_dlBandwidth
the DL bandwidth
std::vector< bool > m_expectedUlRb
expected UL per RB
void UlDataRxStart(Ptr< const SpectrumValue > spectrumValue)
UL data receive start function.
void TeleportUe2(Ptr< Node > ueNode, uint32_t x, uint32_t y, double expectedPower, std::vector< bool > expectedDlRb)
Teleport UE 2 function.
void DlDataRxStart(Ptr< const SpectrumValue > spectrumValue)
DL data receive start function.
double m_expectedUlPower
expected UL power
std::string m_schedulerType
the scheduler type
void SetUlExpectedValues(double expectedPower, std::vector< bool > expectedDlRb)
Set UL expected values function.
bool m_usedWrongUlPower
used wrong UL power?
double m_expectedDlPower
the expected DL power
void SetDlExpectedValues(double expectedPower, std::vector< bool > expectedDlRb)
Set DL expected values function.
bool m_usedWrongDlRbg
used wrong DL RBG?
void TeleportUe(uint32_t x, uint32_t y, double expectedPower, std::vector< bool > expectedDlRb)
Teleport UE function.
Ptr< MobilityModel > m_ueMobility
the UE mobility model
bool m_usedWrongDlPower
used wrong DL power?
Test frequency reuse algorithm.
void DlDataRxStart(Ptr< const SpectrumValue > spectrumValue)
DL data receive start function.
uint32_t m_userNum
the number of UE nodes
void UlDataRxStart(Ptr< const SpectrumValue > spectrumValue)
UL data receive start function.
uint16_t m_dlBandwidth
the DL bandwidth
LteFrTestCase(std::string name, uint32_t userNum, uint16_t dlBandwidth, uint16_t ulBandwidth, std::vector< bool > availableDlRb, std::vector< bool > availableUlRb)
Constructor.
uint16_t m_ulBandwidth
the UL bandwidth
bool m_usedMutedDlRbg
used muted DL RBG?
std::vector< bool > m_availableDlRb
the available DL for each RB
virtual void DoRun(void)
Implementation to actually run this TestCase.
std::vector< bool > m_availableUlRb
the available UL for each RB
bool m_usedMutedUlRbg
used muted UL RBG?
Test the fractional frequency reuse algorithms.
LteFrequencyReuseTestSuite()
TestSuite.
Test hard frequency reuse algorithm.
LteHardFrTestCase(std::string name, uint32_t userNum, std::string schedulerType, uint16_t dlBandwidth, uint16_t ulBandwidth, uint8_t dlSubBandOffset, uint16_t dlSubBandwidth, uint8_t ulSubBandOffset, uint16_t ulSubBandwidth, std::vector< bool > availableDlRb, std::vector< bool > availableUlRb)
Constructor.
uint8_t m_dlSubBandOffset
the DL subband offset
uint8_t m_ulSubBandwidth
UL subband offset.
uint8_t m_ulSubBandOffset
UL subband offset.
uint8_t m_dlSubBandwidth
the DL subband width
virtual void DoRun(void)
Implementation to actually run this TestCase.
virtual ~LteHardFrTestCase()
std::string m_schedulerType
the scheduler type
Lte Soft Ffr Area Test Case.
virtual void DoRun(void)
Implementation to actually run this TestCase.
virtual ~LteSoftFfrAreaTestCase()
LteSoftFfrAreaTestCase(std::string name, std::string schedulerType)
Constructor.
Lte Soft Fr Area Test Case.
virtual ~LteSoftFrAreaTestCase()
LteSoftFrAreaTestCase(std::string name, std::string schedulerType)
Constructor.
virtual void DoRun(void)
Implementation to actually run this TestCase.
virtual ~LteStrictFrAreaTestCase()
virtual void DoRun(void)
Implementation to actually run this TestCase.
LteStrictFrAreaTestCase(std::string name, std::string schedulerType)
Constructor.
Test stric frequency reuse algorithm.
virtual ~LteStrictFrTestCase()
uint16_t m_ulCommonSubBandwidth
UL common subbandwidth.
uint16_t m_dlCommonSubBandwidth
DL common subbandwidth.
uint8_t m_dlEdgeSubBandOffset
DL edge subband offset.
uint8_t m_ulEdgeSubBandOffset
UL edge subband offset.
std::string m_schedulerType
scheduler type
LteStrictFrTestCase(std::string name, uint32_t userNum, std::string schedulerType, uint16_t dlBandwidth, uint16_t ulBandwidth, uint16_t dlCommonSubBandwidth, uint8_t dlEdgeSubBandOffset, uint16_t dlEdgeSubBandwidth, uint16_t ulCommonSubBandwidth, uint8_t ulEdgeSubBandOffset, uint16_t ulEdgeSubBandwidth, std::vector< bool > availableDlRb, std::vector< bool > availableUlRb)
Constructor.
uint16_t m_dlEdgeSubBandwidth
DL edge subbandwidth.
uint16_t m_ulEdgeSubBandwidth
UL edge subbandwidth.
virtual void DoRun(void)
Implementation to actually run this TestCase.
Smart pointer class similar to boost::intrusive_ptr.
Simulation virtual time values and global simulation resolution.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
list x
Random number samples.