A Discrete-Event Network Simulator
API
ns3::PhyEntity::SnrPer Struct Reference

A struct for both SNR and PER. More...

#include "phy-entity.h"

+ Collaboration diagram for ns3::PhyEntity::SnrPer:

Public Member Functions

 SnrPer ()
 Default constructor. More...
 
 SnrPer (double s, double p)
 Constructor for SnrPer. More...
 

Public Attributes

double per {1.0}
 PER. More...
 
double snr {0.0}
 SNR in linear scale. More...
 

Detailed Description

A struct for both SNR and PER.

Definition at line 146 of file phy-entity.h.

Constructor & Destructor Documentation

◆ SnrPer() [1/2]

ns3::PhyEntity::SnrPer::SnrPer ( )
inline

Default constructor.

Definition at line 154 of file phy-entity.h.

◆ SnrPer() [2/2]

ns3::PhyEntity::SnrPer::SnrPer ( double  s,
double  p 
)
inline

Constructor for SnrPer.

Parameters
sthe SNR in linear scale
pthe PER

Definition at line 164 of file phy-entity.h.

Member Data Documentation

◆ per

◆ snr

double ns3::PhyEntity::SnrPer::snr {0.0}

The documentation for this struct was generated from the following file: