Test frequency reuse algorithm. More...
#include "lte-test-frequency-reuse.h"
 Inheritance diagram for LteFrTestCase:
 Collaboration diagram for LteFrTestCase:Public Member Functions | |
| LteFrTestCase (std::string name, uint32_t userNum, uint16_t dlBandwidth, uint16_t ulBandwidth, std::vector< bool > availableDlRb, std::vector< bool > availableUlRb) | |
| Constructor.  More... | |
| virtual | ~LteFrTestCase () | 
| void | DlDataRxStart (Ptr< const SpectrumValue > spectrumValue) | 
| DL data receive start function.  More... | |
| void | UlDataRxStart (Ptr< const SpectrumValue > spectrumValue) | 
| UL data receive start function.  More... | |
  Public Member Functions inherited from ns3::TestCase | |
| virtual | ~TestCase () | 
| Destructor.  More... | |
| std::string | GetName (void) const | 
Protected Member Functions | |
| virtual void | DoRun (void) | 
| Implementation to actually run this TestCase.  More... | |
  Protected Member Functions inherited from ns3::TestCase | |
| TestCase (std::string name) | |
| Constructor.  More... | |
| void | AddTestCase (TestCase *testCase, TestDuration duration=QUICK) | 
| Add an individual child TestCase to this test suite.  More... | |
| TestCase * | GetParent () const | 
| Get the parent of this TestCsse.  More... | |
| bool | IsStatusFailure (void) const | 
| Check if any tests failed.  More... | |
| bool | IsStatusSuccess (void) const | 
| Check if all tests passed.  More... | |
| void | SetDataDir (std::string directory) | 
| Set the data directory where reference trace files can be found.  More... | |
| 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.  More... | |
| bool | MustAssertOnFailure (void) const | 
| Check if this run should assert on failure.  More... | |
| bool | MustContinueOnFailure (void) const | 
| Check if this run should continue on failure.  More... | |
| std::string | CreateDataDirFilename (std::string filename) | 
| Construct the full path to a file in the data directory.  More... | |
| std::string | CreateTempDirFilename (std::string filename) | 
| Construct the full path to a file in a temporary directory.  More... | |
Protected Attributes | |
| std::vector< bool > | m_availableDlRb | 
| the available DL for each RB  More... | |
| std::vector< bool > | m_availableUlRb | 
| the available UL for each RB  More... | |
| uint16_t | m_dlBandwidth | 
| the DL bandwidth  More... | |
| uint16_t | m_ulBandwidth | 
| the UL bandwidth  More... | |
| bool | m_usedMutedDlRbg | 
| used muted DL RBG?  More... | |
| bool | m_usedMutedUlRbg | 
| used muted UL RBG?  More... | |
| uint32_t | m_userNum | 
| the number of UE nodes  More... | |
Additional Inherited Members | |
  Public Types inherited from ns3::TestCase | |
| enum | TestDuration { QUICK = 1, EXTENSIVE = 2, TAKES_FOREVER = 3 } | 
| How long the test takes to execute.  More... | |
Test frequency reuse algorithm.
Test fails if the muted frequencies are being used.
Definition at line 53 of file lte-test-frequency-reuse.h.
| LteFrTestCase::LteFrTestCase | ( | std::string | name, | 
| uint32_t | userNum, | ||
| uint16_t | dlBandwidth, | ||
| uint16_t | ulBandwidth, | ||
| std::vector< bool > | availableDlRb, | ||
| std::vector< bool > | availableUlRb | ||
| ) | 
Constructor.
| name | the reference name | 
| userNum | the number of UE nodes | 
| dlBandwidth | the DL bandwidth | 
| ulBandwidth | the UL bandwidth | 
| availableDlRb | the available DL per RB | 
| availableUlRb | the available UL per RB | 
Definition at line 177 of file lte-test-frequency-reuse.cc.
      
  | 
  virtual | 
Definition at line 191 of file lte-test-frequency-reuse.cc.
| void LteFrTestCase::DlDataRxStart | ( | Ptr< const SpectrumValue > | spectrumValue | ) | 
DL data receive start function.
| spectrumValue | the DL data reeive spectrum value | 
Definition at line 198 of file lte-test-frequency-reuse.cc.
References ns3::SpectrumValue::ConstValuesBegin(), ns3::SpectrumValue::ConstValuesEnd(), m_availableDlRb, m_dlBandwidth, m_usedMutedDlRbg, and NS_LOG_DEBUG.
Referenced by DlDataRxStartNofitication().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protectedvirtual | 
Implementation to actually run this TestCase.
Subclasses should override this method to conduct their tests.
Implements ns3::TestCase.
Reimplemented in LteStrictFrTestCase, and LteHardFrTestCase.
Definition at line 237 of file lte-test-frequency-reuse.cc.
| void LteFrTestCase::UlDataRxStart | ( | Ptr< const SpectrumValue > | spectrumValue | ) | 
UL data receive start function.
| spectrumValue | the UL data reeive spectrum value | 
Definition at line 217 of file lte-test-frequency-reuse.cc.
References ns3::SpectrumValue::ConstValuesBegin(), ns3::SpectrumValue::ConstValuesEnd(), m_availableUlRb, m_ulBandwidth, m_usedMutedUlRbg, and NS_LOG_DEBUG.
Referenced by UlDataRxStartNofitication().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
the available DL for each RB
Definition at line 89 of file lte-test-frequency-reuse.h.
Referenced by DlDataRxStart().
      
  | 
  protected | 
the available UL for each RB
Definition at line 92 of file lte-test-frequency-reuse.h.
Referenced by UlDataRxStart().
      
  | 
  protected | 
the DL bandwidth
Definition at line 86 of file lte-test-frequency-reuse.h.
Referenced by DlDataRxStart(), LteHardFrTestCase::DoRun(), and LteStrictFrTestCase::DoRun().
      
  | 
  protected | 
the UL bandwidth
Definition at line 87 of file lte-test-frequency-reuse.h.
Referenced by LteHardFrTestCase::DoRun(), LteStrictFrTestCase::DoRun(), and UlDataRxStart().
      
  | 
  protected | 
used muted DL RBG?
Definition at line 90 of file lte-test-frequency-reuse.h.
Referenced by DlDataRxStart(), LteHardFrTestCase::DoRun(), and LteStrictFrTestCase::DoRun().
      
  | 
  protected | 
used muted UL RBG?
Definition at line 93 of file lte-test-frequency-reuse.h.
Referenced by LteHardFrTestCase::DoRun(), LteStrictFrTestCase::DoRun(), and UlDataRxStart().
      
  | 
  protected | 
the number of UE nodes
Definition at line 85 of file lte-test-frequency-reuse.h.
Referenced by LteHardFrTestCase::DoRun(), and LteStrictFrTestCase::DoRun().