A Discrete-Event Network Simulator
API
Public Member Functions | Private Member Functions | Private Attributes | List of all members
LteStrictFrTestCase Class Reference

Test stric frequency reuse algorithm. More...

#include "lte-test-frequency-reuse.h"

+ Inheritance diagram for LteStrictFrTestCase:

Public Member Functions

 LteStrictFrTestCase (std::string name, uint32_t userNum, std::string schedulerType, uint8_t dlBandwidth, uint8_t ulBandwidth, uint8_t dlCommonSubBandwidth, uint8_t dlEdgeSubBandOffset, uint8_t dlEdgeSubBandwidth, uint8_t ulCommonSubBandwidth, uint8_t ulEdgeSubBandOffset, uint8_t ulEdgeSubBandwidth, std::vector< bool > availableDlRb, std::vector< bool > availableUlRb)
 Constructor. More...
 
virtual ~LteStrictFrTestCase ()
 
- Public Member Functions inherited from LteFrTestCase
 LteFrTestCase (std::string name, uint32_t userNum, uint8_t dlBandwidth, uint8_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
 

Private Member Functions

virtual void DoRun (void)
 Implementation to actually run this TestCase. More...
 

Private Attributes

uint8_t m_dlCommonSubBandwidth
 DL common subbandwidth. More...
 
uint8_t m_dlEdgeSubBandOffset
 DL edge subband offset. More...
 
uint8_t m_dlEdgeSubBandwidth
 DL edge subbandwidth. More...
 
std::string m_schedulerType
 scheduler type More...
 
uint8_t m_ulCommonSubBandwidth
 UL common subbandwidth. More...
 
uint8_t m_ulEdgeSubBandOffset
 UL edge subband offset. More...
 
uint8_t m_ulEdgeSubBandwidth
 UL edge subbandwidth. 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...
 
- 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...
 
TestCaseGetParent () 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 inherited from LteFrTestCase
std::vector< bool > m_availableDlRb
 the available DL for each RB More...
 
std::vector< bool > m_availableUlRb
 the available UL for each RB More...
 
uint8_t m_dlBandwidth
 the DL bandwidth More...
 
uint8_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...
 

Detailed Description

Test stric frequency reuse algorithm.

Test fails if the muted frequencies are being used.

Definition at line 149 of file lte-test-frequency-reuse.h.

Constructor & Destructor Documentation

◆ LteStrictFrTestCase()

LteStrictFrTestCase::LteStrictFrTestCase ( std::string  name,
uint32_t  userNum,
std::string  schedulerType,
uint8_t  dlBandwidth,
uint8_t  ulBandwidth,
uint8_t  dlCommonSubBandwidth,
uint8_t  dlEdgeSubBandOffset,
uint8_t  dlEdgeSubBandwidth,
uint8_t  ulCommonSubBandwidth,
uint8_t  ulEdgeSubBandOffset,
uint8_t  ulEdgeSubBandwidth,
std::vector< bool >  availableDlRb,
std::vector< bool >  availableUlRb 
)

Constructor.

Parameters
namethe reference name
userNumthe number of UE nodes
schedulerTypethe scheduler type
dlBandwidththe DL bandwidth
ulBandwidththe UL bandwidth
dlCommonSubBandwidthDL common bandwidth
dlEdgeSubBandOffsetDL edge subband offset
dlEdgeSubBandwidthDL edge subbandwidth
ulCommonSubBandwidthUL common subbandwidth
ulEdgeSubBandOffsetUL subband offset
ulEdgeSubBandwidthUL subbandwidth
availableDlRbthe available DL per RB
availableUlRbthe avaialbel UL per RB

Definition at line 349 of file lte-test-frequency-reuse.cc.

References NS_LOG_INFO.

◆ ~LteStrictFrTestCase()

LteStrictFrTestCase::~LteStrictFrTestCase ( )
virtual

Definition at line 367 of file lte-test-frequency-reuse.cc.

Member Function Documentation

◆ DoRun()

void LteStrictFrTestCase::DoRun ( void  )
privatevirtual

Member Data Documentation

◆ m_dlCommonSubBandwidth

uint8_t LteStrictFrTestCase::m_dlCommonSubBandwidth
private

DL common subbandwidth.

Definition at line 182 of file lte-test-frequency-reuse.h.

Referenced by DoRun().

◆ m_dlEdgeSubBandOffset

uint8_t LteStrictFrTestCase::m_dlEdgeSubBandOffset
private

DL edge subband offset.

Definition at line 183 of file lte-test-frequency-reuse.h.

Referenced by DoRun().

◆ m_dlEdgeSubBandwidth

uint8_t LteStrictFrTestCase::m_dlEdgeSubBandwidth
private

DL edge subbandwidth.

Definition at line 184 of file lte-test-frequency-reuse.h.

Referenced by DoRun().

◆ m_schedulerType

std::string LteStrictFrTestCase::m_schedulerType
private

scheduler type

Definition at line 180 of file lte-test-frequency-reuse.h.

Referenced by DoRun().

◆ m_ulCommonSubBandwidth

uint8_t LteStrictFrTestCase::m_ulCommonSubBandwidth
private

UL common subbandwidth.

Definition at line 186 of file lte-test-frequency-reuse.h.

Referenced by DoRun().

◆ m_ulEdgeSubBandOffset

uint8_t LteStrictFrTestCase::m_ulEdgeSubBandOffset
private

UL edge subband offset.

Definition at line 187 of file lte-test-frequency-reuse.h.

Referenced by DoRun().

◆ m_ulEdgeSubBandwidth

uint8_t LteStrictFrTestCase::m_ulEdgeSubBandwidth
private

UL edge subbandwidth.

Definition at line 188 of file lte-test-frequency-reuse.h.

Referenced by DoRun().


The documentation for this class was generated from the following files: