ns-3
|
This class models the propagation loss model due to the shadowing. More...
#include <shadowing-loss-model.h>
Public Member Functions | |
ShadowingLossModel (double mu, double sigma, double samplingPeriod) | |
void | SetValue (double sh) |
double | GetValue (void) |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::ShadowingLossModel. |
This class models the propagation loss model due to the shadowing.
ns3::ShadowingLossModel::ShadowingLossModel | ( | double | mu, |
double | sigma, | ||
double | samplingPeriod | ||
) |
mu | mu parameter of the lognormal distribution |
sigma | sigma parameter of the lognormal distribution |
samplingPeriod | the interval every time the model should be updated |
References ns3::RandomVariable::GetValue(), ns3::DiscreteTimeLossModel::SetLastUpdate(), ns3::DiscreteTimeLossModel::SetSamplingPeriod(), and SetValue().
TypeId ns3::ShadowingLossModel::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::ShadowingLossModel.
This object is accessible through the following paths with Config::Set and Config::Connect:
No Attributes defined for this type.
No TraceSources defined for this type.
Reimplemented from ns3::DiscreteTimeLossModel.
References ns3::TypeId::SetParent().
double ns3::ShadowingLossModel::GetValue | ( | void | ) |
Get the value of the shadowing loss model, expressed in dB
References ns3::RandomVariable::GetValue(), ns3::DiscreteTimeLossModel::NeedForUpdate(), NS_LOG_FUNCTION, ns3::DiscreteTimeLossModel::SetLastUpdate(), and SetValue().
void ns3::ShadowingLossModel::SetValue | ( | double | sh | ) |
Set the value of the shadowing loss model, expressed in dB
sh | the shadowing loss value |
References NS_LOG_FUNCTION.
Referenced by GetValue(), and ShadowingLossModel().