49typedef ::std::map<double, double>
PdrLut;
76 virtual int command(
int,
const char *
const *);
85 virtual void endRx(Packet *p);
97 virtual double getPER(
double snr, Packet *);
132 double x,
double x1,
double y1,
double x2,
double y2);
virtual int command(int, const char *const *)
TCL command interpreter.
virtual double matchSIR_PDR(double sir)
Return the PER via linear interpolation.
virtual double matchDistancePDR(double distance)
Return the PER via linear interpolation.
virtual void endRx(Packet *p)
Handles the end of a packet reception.
virtual double getPER(double snr, Packet *)
Returns the packet error rate by using the length of a packet and the information contained in the pa...
UwAhoiPhy()
Constructor of UwAhoiPhy class.
virtual double linearInterpolator(double x, double x1, double y1, double x2, double y2)
Return y via linear interpolation given two points.
virtual double getDistance(Packet *)
Return the distance between source and destination.
char pdr_token_separator_
virtual ~UwAhoiPhy()
Destructor of UwAhoiPhy class.
virtual void initializeLUT()
PdrLut::iterator PdrLutIt
::std::map< double, double > PdrLut
Definition of UwPhysical class.