49typedef ::std::map<double, double>
PdrLut;
76 virtual int command(
int,
const char *
const *);
85 virtual void endRx(Packet *p);
98 virtual double getPER(
double snr,
int nbits, Packet *);
117 virtual double matchPS(
double distance,
int size);
127 double x,
double x1,
double y1,
double x2,
double y2);
virtual void initializeLUT()
virtual double matchPS(double distance, int size)
Return the PER via linear interpolation.
virtual void endRx(Packet *p)
Handles the end of a packet reception.
virtual int command(int, const char *const *)
TCL command interpreter.
virtual double linearInterpolator(double x, double x1, double y1, double x2, double y2)
Return y via linear interpolation given two points.
UwHermesPhy()
Constructor of UwHermesPhy class.
virtual double getDistance(Packet *)
Return the distance between source and destination.
virtual double getPER(double snr, int nbits, Packet *)
Returns the packet error rate by using the length of a packet and the information contained in the pa...
virtual double chunckInterpolator(double p, int size)
int BCH_N
BCH(n,k,t) : correction of t errors via BCH code new frame length= FRAME_BIT/k*n, example: 9152/11*15...
virtual ~UwHermesPhy()
Destructor of UwHermesPhy class.
char pdr_token_separator_
PdrLut::iterator PdrLutIt
::std::map< double, double > PdrLut
Definition of UwPhysical class.