class ErrorModel/Empirical : ErrorModel/TwoState <TwoStateErrorModel>


Inheritance:


Public Methods

ErrorModel/Empirical instproc init {fileList {unit "pkt"}}

Inherited from TwoStateErrorModel:

Public Methods

virtual int corrupt(Packet*)

Protected Fields

RandomVariable* ranvar_[2]
double remainLen_
int state_

Protected Methods

int command(int argc, const char*const* argv)

Inherited from ErrorModel:

Public Methods

inline double rate()
virtual void recv(Packet*, Handler*)
virtual void reset()
inline ErrorUnit unit()

Protected Fields

double bandwidth_
int enable_
int firstTime_
Event intr_
int markecn_
double rate_
ErrorUnit unit_

Protected Methods

int CorruptByte(Packet*)
int CorruptPkt(Packet*)
int CorruptTime(Packet*)
double PktLength(Packet*)

Inherited from Connector:

Public Methods

virtual void drop(Packet* p)
inline NsObject* target()

Protected Fields

NsObject* drop_
NsObject* target_

Protected Methods

virtual void drop(Packet* p, const char *s)
inline void send(Packet* p, Handler* h)

Inherited from NsObject:

Public Methods

virtual void debug(const char *fmt, ...)
virtual int delay_bind_dispatch(const char *varName, const char *localName, TclObject *tracer)
virtual void delay_bind_init_all()
int isdebug()

Protected Fields

int debug_
int off_cmn_
int off_flags_

Protected Methods

void handle(Event*)

Inherited from Handler:


Documentation

ErrorModel/Empirical instproc init {fileList {unit "pkt"}}


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

Adapted for the NS documentation page

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de