Test strict frequency reuse algorithm. More...
#include "lte-test-frequency-reuse.h"
 Inheritance diagram for LteStrictFrTestCase:
 Inheritance diagram for LteStrictFrTestCase: Collaboration diagram for LteStrictFrTestCase:
 Collaboration diagram for LteStrictFrTestCase:| Public Member Functions | |
| 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. | |
| ~LteStrictFrTestCase () override | |
|  Public Member Functions inherited from LteFrTestCase | |
| LteFrTestCase (std::string name, uint32_t userNum, uint16_t dlBandwidth, uint16_t ulBandwidth, std::vector< bool > availableDlRb, std::vector< bool > availableUlRb) | |
| Constructor. | |
| ~LteFrTestCase () override | |
| void | DlDataRxStart (Ptr< const SpectrumValue > spectrumValue) | 
| DL data receive start function. | |
| void | UlDataRxStart (Ptr< const SpectrumValue > spectrumValue) | 
| UL data receive start function. | |
|  Public Member Functions inherited from ns3::TestCase | |
| TestCase (const TestCase &)=delete | |
| virtual | ~TestCase () | 
| Destructor. | |
| std::string | GetName () const | 
| TestCase & | operator= (const TestCase &)=delete | 
| Private Member Functions | |
| void | DoRun () override | 
| Implementation to actually run this TestCase. | |
| Private Attributes | |
| uint16_t | m_dlCommonSubBandwidth | 
| DL common subbandwidth. | |
| uint8_t | m_dlEdgeSubBandOffset | 
| DL edge subband offset. | |
| uint16_t | m_dlEdgeSubBandwidth | 
| DL edge subbandwidth. | |
| std::string | m_schedulerType | 
| scheduler type | |
| uint16_t | m_ulCommonSubBandwidth | 
| UL common subbandwidth. | |
| uint8_t | m_ulEdgeSubBandOffset | 
| UL edge subband offset. | |
| uint16_t | m_ulEdgeSubBandwidth | 
| UL edge subbandwidth. | |
| Additional Inherited Members | |
|  Public Types inherited from ns3::TestCase | |
| enum class | Duration { QUICK = 1 , EXTENSIVE = 2 , TAKES_FOREVER = 3 } | 
| How long the test takes to execute.  More... | |
|  Protected Member Functions inherited from ns3::TestCase | |
| TestCase (std::string name) | |
| Constructor. | |
| void | AddTestCase (TestCase *testCase, Duration duration=Duration::QUICK) | 
| Add an individual child TestCase to this test suite. | |
| TestCase * | GetParent () const | 
| Get the parent of this TestCase. | |
| bool | IsStatusFailure () const | 
| Check if any tests failed. | |
| bool | IsStatusSuccess () const | 
| Check if all tests passed. | |
| void | SetDataDir (std::string directory) | 
| Set the data directory where reference trace files can be found. | |
| void | ReportTestFailure (std::string cond, std::string actual, std::string limit, std::string message, std::string file, int32_t line) | 
| Log the failure of this TestCase. | |
| bool | MustAssertOnFailure () const | 
| Check if this run should assert on failure. | |
| bool | MustContinueOnFailure () const | 
| Check if this run should continue on failure. | |
| std::string | CreateDataDirFilename (std::string filename) | 
| Construct the full path to a file in the data directory. | |
| std::string | CreateTempDirFilename (std::string filename) | 
| Construct the full path to a file in a temporary directory. | |
|  Protected Attributes inherited from LteFrTestCase | |
| std::vector< bool > | m_availableDlRb | 
| the available DL for each RB | |
| std::vector< bool > | m_availableUlRb | 
| the available UL for each RB | |
| uint16_t | m_dlBandwidth | 
| the DL bandwidth | |
| uint16_t | m_ulBandwidth | 
| the UL bandwidth | |
| bool | m_usedMutedDlRbg | 
| used muted DL RBG? | |
| bool | m_usedMutedUlRbg | 
| used muted UL RBG? | |
| uint32_t | m_userNum | 
| the number of UE nodes | |
Test strict frequency reuse algorithm.
Test fails if the muted frequencies are being used.
Definition at line 145 of file lte-test-frequency-reuse.h.
| LteStrictFrTestCase::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.
| name | the reference name | 
| userNum | the number of UE nodes | 
| schedulerType | the scheduler type | 
| dlBandwidth | the DL bandwidth | 
| ulBandwidth | the UL bandwidth | 
| dlCommonSubBandwidth | DL common bandwidth | 
| dlEdgeSubBandOffset | DL edge subband offset | 
| dlEdgeSubBandwidth | DL edge subbandwidth | 
| ulCommonSubBandwidth | UL common subbandwidth | 
| ulEdgeSubBandOffset | UL subband offset | 
| ulEdgeSubBandwidth | UL subbandwidth | 
| availableDlRb | the available DL per RB | 
| availableUlRb | the available UL per RB | 
Definition at line 638 of file lte-test-frequency-reuse.cc.
References LteFrTestCase::LteFrTestCase(), m_dlCommonSubBandwidth, m_dlEdgeSubBandOffset, m_dlEdgeSubBandwidth, m_schedulerType, m_ulCommonSubBandwidth, m_ulEdgeSubBandOffset, m_ulEdgeSubBandwidth, and NS_LOG_INFO.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | override | 
Definition at line 663 of file lte-test-frequency-reuse.cc.
| 
 | overrideprivatevirtual | 
Implementation to actually run this TestCase.
Subclasses should override this method to conduct their tests.
Simulation Topology
Reimplemented from LteFrTestCase.
Definition at line 668 of file lte-test-frequency-reuse.cc.
References ns3::NodeContainer::Create(), ns3::CreateObject(), ns3::Simulator::Destroy(), DlDataRxStartNotification(), ns3::EpsBearer::GBR_CONV_VOICE, ns3::GbrQosInformation::gbrDl, ns3::GbrQosInformation::gbrUl, ns3::NetDeviceContainer::Get(), ns3::Object::GetObject(), ns3::LteSpectrumValueHelper::GetSpectrumModel(), LteFrTestCase::m_dlBandwidth, m_dlCommonSubBandwidth, m_dlEdgeSubBandOffset, m_dlEdgeSubBandwidth, m_schedulerType, LteFrTestCase::m_ulBandwidth, m_ulCommonSubBandwidth, m_ulEdgeSubBandOffset, m_ulEdgeSubBandwidth, LteFrTestCase::m_usedMutedDlRbg, LteFrTestCase::m_usedMutedUlRbg, LteFrTestCase::m_userNum, ns3::MakeBoundCallback(), ns3::GbrQosInformation::mbrDl, ns3::GbrQosInformation::mbrUl, NS_LOG_DEBUG, NS_TEST_ASSERT_MSG_EQ, ns3::Config::Reset(), ns3::Simulator::Run(), ns3::Seconds(), ns3::Config::SetDefault(), ns3::Simulator::Stop(), and UlDataRxStartNotification().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
DL common subbandwidth.
Definition at line 185 of file lte-test-frequency-reuse.h.
Referenced by LteStrictFrTestCase(), and DoRun().
| 
 | private | 
DL edge subband offset.
Definition at line 186 of file lte-test-frequency-reuse.h.
Referenced by LteStrictFrTestCase(), and DoRun().
| 
 | private | 
DL edge subbandwidth.
Definition at line 187 of file lte-test-frequency-reuse.h.
Referenced by LteStrictFrTestCase(), and DoRun().
| 
 | private | 
scheduler type
Definition at line 183 of file lte-test-frequency-reuse.h.
Referenced by LteStrictFrTestCase(), and DoRun().
| 
 | private | 
UL common subbandwidth.
Definition at line 189 of file lte-test-frequency-reuse.h.
Referenced by LteStrictFrTestCase(), and DoRun().
| 
 | private | 
UL edge subband offset.
Definition at line 190 of file lte-test-frequency-reuse.h.
Referenced by LteStrictFrTestCase(), and DoRun().
| 
 | private | 
UL edge subbandwidth.
Definition at line 191 of file lte-test-frequency-reuse.h.
Referenced by LteStrictFrTestCase(), and DoRun().