ns-3
ns3::UanPropModelThorp Class Reference

Uses Thorp's approximation to compute pathloss. Assumes implulse PDP. More...

#include <uan-prop-model-thorp.h>

Inheritance diagram for ns3::UanPropModelThorp:
Collaboration diagram for ns3::UanPropModelThorp:

List of all members.

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.

Detailed Description

Uses Thorp's approximation to compute pathloss. Assumes implulse PDP.


Member Function Documentation

Finds propagation delay between nodes a and b

Parameters:
aPtr to mobility model of node a
bPtr to mobility model of node b
modeTX mode of transmission
Returns:
Propagation delay

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.

Returns:
Pathloss in dB re 1 uPa
Parameters:
aPtr to mobility model of node a
bPtr to mobility model of node b
txModeTX mode of transmission between a and b

Implements ns3::UanPropModel.

References ns3::UanTxMode::GetCenterFreqHz(), and ns3::MobilityModel::GetDistanceFrom().

Returns:
PDP for link between nodes a and b
Parameters:
aPtr to mobility model of node a
bPtr to mobility model of node b
modeTX mode of transmission from a to b

Implements ns3::UanPropModel.

References ns3::UanPdp::CreateImpulsePdp().

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

This object is accessible through the following paths with Config::Set and Config::Connect:

  • /NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::UanPropModelThorp
  • /NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::UanPropModelThorp

Attributes defined for this type:

  • SpreadCoef: Spreading coefficient used in calculation of Thorp's approximation
    • Set with class: ns3::DoubleValue
    • Underlying type: double -1.79769e+308:1.79769e+308
    • Initial value: 1.5
    • Flags: construct write read

No TraceSources defined for this type.

Reimplemented from ns3::UanPropModel.

References ns3::TypeId::SetParent().


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