A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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.
 
 SnrPer (double s, double p)
 Constructor for SnrPer.
 

Public Attributes

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

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


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