Considering that you sent some packets (and none of them was received), you can compute the routing overhead of any algorithm by counting the control packets of the trace (filter for RTR and/or something related to the control packet, such as RREQ and RREP).
Note that a routing algorithm can have a parameter to stop the flooding, i.e., control packets are not retransmitted after that (e.g., AOMDV sets the network diameter to 30). Hope this helps. Mateus >> I have a quick question regarding routing overhead. How do we count routing >> overhead if the received data packet is zero? In my case, the received data >> packet is expected to be zero due to a sparse network, but I still need to >> calculate the routing overhead. I just want to know how to count the >> routing overhead for zero received data packets or do we considered the >> routing overhead as zero as well. >> >> >> >> A quick response is very much appreciated. >> >> >> >> Aslinda Hassan >> >> Faculty of Engineering and Applied Science >> >> Memorial University og Newfoundland >> >> >> >> >> >> ------------------------------ >> >> Message: 2 >> Date: Wed, 16 May 2012 19:26:23 +0200 >> From: Husam Y ALZAQ <bayan...@hotmail.com> >> Subject: [ns] Nodes movement in NS-2 >> To: <ns-users@isi.edu> >> Message-ID: <dub116-w134e57afcc41f66358fd5258b...@phx.gbl> >> Content-Type: text/plain; charset="iso-8859-1" >> >> >> Hello ns-users,I am using NS-2 for creating a mobile node. actually those >> nodes are Wireless Sensor Nodes created by mannasim. >> My scinario as the following >> a mobile node will move between 4 places and wait for some time >> and it issues 4 move commandes like >> >> set_destination(new_x,new_y,SPEED); >> set_destination(new_x1,new_y1,SPEED); >> set_destination(new_x2,new_y2,SPEED); >> set_destination(new_x3,new_y3,SPEED); >> >> >> from C++ code. this pices of code allow a node to move from its >> current location to new_x and new_y location at speed of SPEED value >> >> However >> just when the last command was executed, it didn't allow the previous ones >> to finish. >> So the mobile node will got to new_x3 and new_y3. >> >> So my question is how we can wait until reaching the first place >> before moving to the next one. In othe words, how we can know that the >> mobile node has reached one desination and the event was successfully >> finished >> Thanks >> >> >> ------------------------------ >> >> Message: 3 >> Date: Wed, 16 May 2012 21:47:50 +0200 >> From: Husam Y ALZAQ <bayan...@hotmail.com> >> Subject: Re: [ns] Nodes movement in NS-2 >> To: <ns-users@isi.edu> >> Message-ID: <dub116-w3463d7cb6e44314e688a718b...@phx.gbl> >> Content-Type: text/plain; charset="iso-8859-1" >> >> >> >> >> >> >> >> >> >> Thanks for your guides. However, the mobile node MUST decide when to move >> and when to stop. >> As far as I know the pause time, which can be set via dist command through >> TCL, was used to determine the nodes stop behaviour, i.e. to stop at fixed >> time. >> >> >> >> regards, >> >> Husam Y. ALZAQ >> >> Istanbul >> >> >> Date: Wed, 16 May 2012 10:53:16 -0700 >> From: star_s...@yahoo.com >> Subject: Re: [ns] Nodes movement in NS-2 >> To: bayan...@hotmail.com >> >> as for as i understand , u should set pause time in set destination >> command...... >> Muhammad Saleem Khan >> Ph.D(CS) , COMSATS Institute of Information Technology, Islamabad. >> Cell No# 0346-9754454 >> >> From: Husam Y ALZAQ <bayan...@hotmail.com> >> To: ns-users@ISI.EDU >> Sent: Wednesday, May 16, 2012 10:26 PM >> Subject: [ns] Nodes movement in NS-2 >> >> >> >> >> Hello ns-users,I am using NS-2 for creating a mobile node. actually those >> nodes are Wireless Sensor Nodes created by mannasim. >> My scinario as the following >> a mobile node will move between 4 places and wait for some time >> and it issues 4 move commandes like >> >> set_destination(new_x,new_y,SPEED); >> set_destination(new_x1,new_y1,SPEED); >> set_destination(new_x2,new_y2,SPEED); >> set_destination(new_x3,new_y3,SPEED); >> >> >> from C++ code. this pices of code allow a node to move from its >> current location to new_x and new_y location at speed of SPEED value >> >> However >> just when the last command was executed, it didn't allow the previous ones >> to finish. >> So the mobile node will got to new_x3 and new_y3. >> >> So my question is how we can wait until reaching the first place >> before moving to the next one. In othe words, how we can know that the >> mobile node has reached one desination and the event was successfully >> >> finished >> Thanks >> >> >> >> >> >> ------------------------------ >> >> _______________________________________________ >> Ns-users mailing list >> Ns-users@isi.edu >> http://mailman.isi.edu/mailman/listinfo/ns-users >> >> >> End of Ns-users Digest, Vol 101, Issue 15 >> *****************************************