[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question



hi,
I know i'm getting different results at each execution, because of the
rand() function, as it deals with some statistics... But the RANGE of
the results is VERY different with/without the namtrace!, as you can
see, with namtrace, the results are around 10%. without namtrace, the
reults are around 50% or even more... 

I cannot find any reason for this. Can you?

Thanx a lot... 



Haobo Yu wrote:
> 
> Are you sure that if you run the same script twice, be it with nam trace
> or without nam trace, you get the same result? It seems that you are using
> rand() of TCL which will guarantee that you have different results for
> different runs.
> 
> - Haobo
> 
> On Wed, 12 May 1999, Imad Aad wrote:
> 
> > Hi,
> >
> > I am using ns-2.1b4, with no modification.
> >
> > The attached file gives different RANGE of output results when
> > using/omitting the 7th line ($ns namtrace-all $nf), which is not
> > supposed to have any effect!
> >
> > (the range is around 10% with the line 7, and much bigger without line
> > 7. Note that each execution gives a different result as we are dealing
> > with random numbers, but the range should be the same with/out the line
> > 7!)
> >
> > Thanx
> >