#include <uwhmmphysical.h>
|
| 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 ()=default |
| |
| 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) |
| |
◆ ~UwHMMPhysicalStats()
| virtual UwHMMPhysicalStats::~UwHMMPhysicalStats |
( |
| ) |
|
|
virtualdefault |
◆ clone()
| Stats * UwHMMPhysicalStats::clone |
( |
| ) |
const |
|
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.
- Returns
- the copy of a module the stats.
Reimplemented from UwPhysicalStats.
◆ updateStats()
| void UwHMMPhysicalStats::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 |
|
) |
| |
|
virtual |
Method to update stats with the param of last received packet
- Parameters
-
| 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 |
References channel_state, and UwPhysicalStats::updateStats().
Referenced by UnderwaterHMMPhysical::endRx().
◆ channel_state
Initial value:=
@ NOT_DEFINED
Definition mclink.h:58
HMM channel state
Referenced by updateStats().
The documentation for this class was generated from the following files: