A Discrete-Event Network Simulator
API
JakesPropagationExample Class Reference

Constructs a JakesPropagationlossModel and print the loss value as a function of time into std::cout. More...

+ Collaboration diagram for JakesPropagationExample:

Public Member Functions

 JakesPropagationExample ()
 
 ~JakesPropagationExample ()
 

Private Member Functions

void Next ()
 Next function. More...
 

Private Attributes

Ptr< MobilityModelm_firstMobility
 first Mobility More...
 
Ptr< PropagationLossModelm_loss
 loss More...
 
EventId m_nextEvent
 next event More...
 
Ptr< MobilityModelm_secondMobility
 second Mobility More...
 
Time m_step
 step More...
 

Detailed Description

Constructs a JakesPropagationlossModel and print the loss value as a function of time into std::cout.

Distribution and correlation statistics is compared woth a theoretical ones using R package (http://www.r-project.org/). Scripts are presented within comments.

Definition at line 33 of file jakes-propagation-model-example.cc.

Constructor & Destructor Documentation

◆ JakesPropagationExample()

JakesPropagationExample::JakesPropagationExample ( )

Definition at line 51 of file jakes-propagation-model-example.cc.

References m_firstMobility, m_loss, m_nextEvent, m_secondMobility, m_step, Next(), and ns3::MobilityModel::SetPosition().

+ Here is the call graph for this function:

◆ ~JakesPropagationExample()

JakesPropagationExample::~JakesPropagationExample ( )

Definition at line 62 of file jakes-propagation-model-example.cc.

Member Function Documentation

◆ Next()

void JakesPropagationExample::Next ( void  )
private

Next function.

Definition at line 66 of file jakes-propagation-model-example.cc.

References ns3::Time::As(), ns3::PropagationLossModel::CalcRxPower(), m_firstMobility, m_loss, m_nextEvent, m_secondMobility, m_step, and ns3::Now().

Referenced by JakesPropagationExample().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_firstMobility

Ptr<MobilityModel> JakesPropagationExample::m_firstMobility
private

first Mobility

Definition at line 40 of file jakes-propagation-model-example.cc.

Referenced by JakesPropagationExample(), and Next().

◆ m_loss

Ptr<PropagationLossModel> JakesPropagationExample::m_loss
private

loss

Definition at line 39 of file jakes-propagation-model-example.cc.

Referenced by JakesPropagationExample(), and Next().

◆ m_nextEvent

EventId JakesPropagationExample::m_nextEvent
private

next event

Definition at line 43 of file jakes-propagation-model-example.cc.

Referenced by JakesPropagationExample(), and Next().

◆ m_secondMobility

Ptr<MobilityModel> JakesPropagationExample::m_secondMobility
private

second Mobility

Definition at line 41 of file jakes-propagation-model-example.cc.

Referenced by JakesPropagationExample(), and Next().

◆ m_step

Time JakesPropagationExample::m_step
private

step

Definition at line 42 of file jakes-propagation-model-example.cc.

Referenced by JakesPropagationExample(), and Next().


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