# ns3::NakagamiPropagationLossModel Class Reference

Nakagami-m fast fading propagation loss model. More...

#include <propagation-loss-model.h>

Inheritance diagram for ns3::NakagamiPropagationLossModel:

[legend]
Collaboration diagram for ns3::NakagamiPropagationLossModel:

[legend]

List of all members.

## Static Public Member Functions

static TypeId GetTypeId (void)
This method returns the TypeId associated to ns3::NakagamiPropagationLossModel.

## Detailed Description

Nakagami-m fast fading propagation loss model.

The Nakagami-m distribution is applied to the power level. The probability density function is defined as

It is implemented by either a ns3::GammaVariable or a ns3::ErlangVariable random variable.

Like in ns3::ThreeLogDistancePropagationLossModel, the m parameter is varied over three distance fields:

For m = 1 the Nakagami-m distribution equals the Rayleigh distribution. Thus this model also implements Rayleigh distribution based fast fading.

## Member Function Documentation

 static TypeId ns3::NakagamiPropagationLossModel::GetTypeId ( void )  [static]

This method returns the TypeId associated to ns3::NakagamiPropagationLossModel.

Attributes defined for this type:

• Distance1: Beginning of the second distance field. Default is 80m.
• Set with class: ns3::DoubleValue
• Underlying type: double -1.79769e+308:1.79769e+308
• Initial value: 80
• Distance2: Beginning of the third distance field. Default is 200m.
• Set with class: ns3::DoubleValue
• Underlying type: double -1.79769e+308:1.79769e+308
• Initial value: 200
• m0: m0 for distances smaller than Distance1. Default is 1.5.
• Set with class: ns3::DoubleValue
• Underlying type: double -1.79769e+308:1.79769e+308
• Initial value: 1.5
• m1: m1 for distances smaller than Distance2. Default is 0.75.
• Set with class: ns3::DoubleValue
• Underlying type: double -1.79769e+308:1.79769e+308
• Initial value: 0.75
• m2: m2 for distances greater than Distance2. Default is 0.75.
• Set with class: ns3::DoubleValue
• Underlying type: double -1.79769e+308:1.79769e+308
• Initial value: 0.75