#include <propagation-loss-model.h>
Public Member Functions | |
void | SetPathLossExponent (double n) |
double | GetPathLossExponent (void) const |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::LogDistancePropagationLossModel. |
This model calculates the reception power with a so-called log-distance propagation model:
where:
When the path loss is requested at a distance smaller than the reference distance, the tx power is returned.
double ns3::LogDistancePropagationLossModel::GetPathLossExponent | ( | void | ) | const |
static TypeId ns3::LogDistancePropagationLossModel::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::LogDistancePropagationLossModel.
Attributes defined for this type:
Reimplemented from ns3::PropagationLossModel.
void ns3::LogDistancePropagationLossModel::SetPathLossExponent | ( | double | n | ) |
n | the path loss exponent. Set the path loss exponent. |