DESERT 3.5.1
|
#include <uwhmmphysical.h>
Public Member Functions | |
virtual | ~UwHMMPhysicalStats ()=default |
virtual Stats * | clone () const |
virtual void | updateStats (int mod_id, int stck_id, double rx_pwr, double noise_pwr, double interf_pwr, double sinr, double ber, double per, bool error, MCLink::ChState channel_state=MCLink::ChState::NOT_DEFINED) |
![]() | |
UwPhysicalStats () | |
UwPhysicalStats (int mod_id, int stck_id) | |
virtual | ~UwPhysicalStats () |
virtual void | updateStats (int mod_id, int stck_id, double rx_pwr, double noise_pwr, double interf_pwr, double sinr, double ber, double per, bool error) |
Public Attributes | |
MCLink::ChState | channel_state = MCLink::ChState::NOT_DEFINED |
![]() | |
double | last_rx_power |
double | last_noise_power |
double | instant_noise_power |
double | last_interf_power |
double | last_sinr |
double | last_ber |
double | last_per |
bool | has_error |
Definition at line 46 of file uwhmmphysical.h.
|
virtualdefault |
Destructor of UwPhysicalStats class.
|
virtual |
Virtual method used by the Module class in order to copy its stats an a generic fashion, without the need to know the derived stats implementation.
Reimplemented from UwPhysicalStats.
Definition at line 56 of file uwhmmphysical.cpp.
|
virtual |
Method to update stats with the param of last received packet.
rx_pwr,received | power of the packet |
noise_pwr,noise | power |
interf_pwr,noise | power |
sinr,signal | to noise ratio according to parent UwPhysical Model |
ber,bit | error rate according to HMM channel state |
per,packet | error rate according to HMM channel state |
error,true | if packet has error |
channel_state,HMM | channel state |
Definition at line 62 of file uwhmmphysical.cpp.
MCLink::ChState UwHMMPhysicalStats::channel_state = MCLink::ChState::NOT_DEFINED |
HMM channel state.
Definition at line 76 of file uwhmmphysical.h.