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

[ns] How to create a link with variable delay?




Dear Seniors,

According to chapter 6, links can be created by the following simple
syntax:
$ns simplex-link <node0> <node1> <bandwidth> <delay> <queue_type>.

Normally, links have constant delay value, but i would like to
create a link with delay that varies during the simulation time.

******************************************************
for instance, at 0.0 (begining of the simulation):
                 
  <node0>-----------------------------<node1>
                delay1= 10ms

at 1 (after one second)

   <node0>----------------------------<node1>
               delay2= 27ms

*******************************************************
 
is this possible?
if it is , i would appreciate it pretty much if you provide me with
any idea. And thank you in advance!


-------------------------------
Tarik Taleb
Information Science Departement
Tohoku University, Japan