ns-3
|
Uses Thorp's approximation to compute pathloss. Assumes implulse PDP. More...
#include <uan-prop-model-thorp.h>
Public Member Functions | |
virtual double | GetPathLossDb (Ptr< MobilityModel > a, Ptr< MobilityModel > b, UanTxMode mode) |
virtual UanPdp | GetPdp (Ptr< MobilityModel > a, Ptr< MobilityModel > b, UanTxMode mode) |
virtual Time | GetDelay (Ptr< MobilityModel > a, Ptr< MobilityModel > b, UanTxMode mode) |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::UanPropModelThorp. |
Uses Thorp's approximation to compute pathloss. Assumes implulse PDP.
Time ns3::UanPropModelThorp::GetDelay | ( | Ptr< MobilityModel > | a, |
Ptr< MobilityModel > | b, | ||
UanTxMode | mode | ||
) | [virtual] |
Finds propagation delay between nodes a and b
a | Ptr to mobility model of node a |
b | Ptr to mobility model of node b |
mode | TX mode of transmission |
Implements ns3::UanPropModel.
References ns3::MobilityModel::GetDistanceFrom(), and ns3::Seconds().
double ns3::UanPropModelThorp::GetPathLossDb | ( | Ptr< MobilityModel > | a, |
Ptr< MobilityModel > | b, | ||
UanTxMode | txMode | ||
) | [virtual] |
Computes pathloss between nodes a and b.
a | Ptr to mobility model of node a |
b | Ptr to mobility model of node b |
txMode | TX mode of transmission between a and b |
Implements ns3::UanPropModel.
References ns3::UanTxMode::GetCenterFreqHz(), and ns3::MobilityModel::GetDistanceFrom().
UanPdp ns3::UanPropModelThorp::GetPdp | ( | Ptr< MobilityModel > | a, |
Ptr< MobilityModel > | b, | ||
UanTxMode | mode | ||
) | [virtual] |
a | Ptr to mobility model of node a |
b | Ptr to mobility model of node b |
mode | TX mode of transmission from a to b |
Implements ns3::UanPropModel.
References ns3::UanPdp::CreateImpulsePdp().
TypeId ns3::UanPropModelThorp::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::UanPropModelThorp.
This object is accessible through the following paths with Config::Set and Config::Connect:
Attributes defined for this type:
No TraceSources defined for this type.
Reimplemented from ns3::UanPropModel.
References ns3::TypeId::SetParent().