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

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

#include "phy-entity.h"

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 136 of file phy-entity.h.

Constructor & Destructor Documentation

◆ SnrPer() [1/2]

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

Default constructor.

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

◆ SnrPer() [2/2]

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

Constructor for SnrPer.

sthe SNR in linear scale
pthe PER

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

Member Data Documentation

◆ per

◆ snr

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