[ns] How to use RandomVariable to simulate traffic resource?

2007-03-12 Thread Eason
Hi, I know that we can use the TCL as below to simulate the traffic. set rtp_down($i) [new Application/Traffic/Exponential] $rtp_down($i) set packetSize_ 20 $rtp_down($i) set burst_time_ 352ms $rtp_down($i) set idle_time_ 650ms $rtp_down($i) set rate_ 8kb But how to use Random

[ns] About add new RandomVariable. Help me!!

2007-03-21 Thread Eason
Hi everyone I have added a new random variable weibull into ns2 by example and have modified rancar.cc , ranvar.h and rng.h. There was no error message after after compiling it But I ran an example that occurred an error massage as below. What steps did I forget or which

[ns] problems about installing NIST WIMAX module. Help me!!!

2007-03-22 Thread Eason
HI, I installed NIST WIMAX module in NS2 2.29. It occur error massage during complier The error massage as below. diffusion3/filter_core/filter_core.o(.text$_ZN13NeighborEntryC1Ei+0x0):filte r_co re.cc: multiple definition of

[ns] about http quesion, please help me

2007-04-10 Thread Eason
Hi, I have some questions about http simulation First, what is the definition of ranvar-main-age. Does it mean the time for the server to renovate a page? Second, when I coded as below, the trace file is simply to understand. But after I coded the mainsize by random variables as

[ns] About PagePool problem

2007-04-10 Thread Eason
Hi, I have some questions about http simulation First, what is the definition of ranvar-main-age. Does it mean the time for the server to renovate a page? Second, when I coded as below, the trace file is simply to understand. But after I coded the mainsize by random