[ns] R: Controlling duration of CBR traffic

2006-10-15 Thread marcello . caleffi
Maybe you can use the stop procedure on the CBR agent. --- Marcello Caleffi, Ph.D. student Department of Electronics and Telecommunications Engineering University of Naples Federico II Via Claudio 21 80125 Naples ITALY -Messaggio originale- Da: Pragasen

[ns] R: Shadowing model

2006-10-15 Thread marcello . caleffi
If $seed == 0 the random generator outputs a different sequence of values every times, instead if $seed != 0 the sequence is the same for every simulation. --- Marcello Caleffi, Ph.D. student Department of Electronics and Telecommunications Engineering University of

[ns] urgent help on buffer level and data transmission rate

2006-10-15 Thread Alper Bereketli
Dear All, I am implementing a MAC protocol for Wireless Sensor Networks. I am trying to: - get the buffer level of a node, (I think it must be the size of ifq, but I could not find the way to get that value at any time) - get the data transmission rate of a node, (not the channel capacity) -

[ns] Problem with the threshold command

2006-10-15 Thread giantpassos
The threshold command is an 'invalid command name' for ns-2.29.3. How could I solve that? Regards Diego.

[ns] Problem with my added method in command method of mac-802_11.cc

2006-10-15 Thread amir zare
Hi All, I want to change the mac-802_11.cc by adding some code in Mac802_11::command method. I added a procedure into ns-mobilenode.tcl as follows: Node/MobileNodeinstproc node-fail {} { $self instvar mac_ return [$mac_(0) node-fail] } in mac-802_11.cc I

[ns] How can i get to know which node is transit node in the GT-ITM

2006-10-15 Thread zhang victor
Hi everyone, How can i get to know which node is transit node in the ts topology generated by GT-ITM? if the topology is a small one ,i may found it in the layout in NAM. but if the topology is in a large scale, . I found the .gb file may have some clue, but it hard to understand, how can i