[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
R: [ns] Error Model with exponential distributed time between errors
Hi Difa,
thank you for the reply. I have found the definition of ErrorModel/Expo
class and I agree with your answer. But I have another question: in
ErrorModel/Expo, I have to definine a vector of 2 value, e.g. called "rate".
Can you confirm me that these two values are the inverse of packet error
rate in their respective states (e.g. good and bad)? For example, if I put
$rate=[list 1e6 1], do I obtain a packet error rate of 1 in bad state and
1e-6 in good state?
Moreover, what differences can I obtain by specifying "unit error" in pkt or
byte or time?
I hope you (or anyone) could answer me again.
Best regards
Sandro Petrizzelli
----- Original Message -----
From: Di-Fa Chang <[email protected]>
To: Sandro Petrizzelli <[email protected]>
Cc: <[email protected]>
Sent: Friday, November 02, 2001 3:08 AM
Subject: Re: [ns] Error Model with exponential distributed time between
errors
> you may check ns/tcl/lib/ns-errmodel.tcl for ErrorModel/Expo class.
>
> - difa
>
> On Thu, 1 Nov 2001, Sandro Petrizzelli wrote:
>
> > Hi to all,
> > can anyone tell me how can I create an error model in wich the time
between
> > consecutive errors is exponentially distributed (channel without
memory)? I
> > tried to find the answer in NS-manual and/or in previously messagges in
this
> > mailing list, but I have not found it.
> >
> > Thanks in advance
> >
> > Sandro Petrizzelli
> >
>
>