97 virtual int command(
int,
const char *
const *);
MCLink class models the BER of a directed link between two nodes.
ChState ch_state
last channel state
double p_gb
Prob of transition from good to bad channel.
double ber_good
BER with good channel.
virtual ~MCLink()
Default destructor of MCLink class.
double last_update
last time channel state has been updated
double p_bg
Prob of transition from bad to good channel.
virtual ChState updateChState()
Called upon packet reception, decides and returns the new channel state updates the members state and...
virtual int command(int, const char *const *)
TCL command interpreter.
double ber_bad
BER with bad channel.
MCLink()
Default constructor of MCLink class.
double step_period
period (s) for channel transition between states
Definition of UwPhysical class.