need help implementing Directed Diffusion

70 views
Skip to first unread message

thangam

unread,
Apr 1, 2010, 2:42:10 AM4/1/10
to Network Simulator - 2 (NS-2)
i had simulated a network using DD.
I got the trace file and nam file. I dont know how to extract the
deatils about energy, delay and outing overhead.
could you send any awk /perl file related to this one

thank you

abitaf

unread,
Apr 4, 2010, 5:16:34 PM4/4/10
to Network Simulator - 2 (NS-2)
i have many script to extract information from trace file how i can
upload it ?

i have to do a simulation for directed diffusion with rmst congestion
control for sensor network can you send me your simulation to study
it ?


On 1 avr, 07:42, thangam <kekr...@gmail.com> wrote:
> i avait simulé un réseau utilisant la commande dd.
> J'ai obtenu le fichier de trace et le fichier Nam. Je ne sais pas comment extraire les
> deatils sur l'énergie, le retard et les frais généraux sortie.
> Pourriez-vous envoyer vos awk / perl dossier relatif à celle-ci
>
> merci

Mohit P. Tahiliani

unread,
Apr 8, 2010, 12:09:21 AM4/8/10
to Network Simulator - 2 (NS-2)
Hello,

You can find the details of Directed Diffusion in Chapter 20 of "The
ns manual".

Follow this link: http://www.isi.edu/nsnam/ns/doc/node227.html

To extract information from the trace file you need to use either AWK
scripts or MATLAB or PERL scripts.

You can find some of the useful AWK scripts on the following link:

http://mohittahiliani.blogspot.com/2010/03/awk-script-for-ns2-supporting-new-trace.html

Hope it helps.

Regards,
Mohit P. Tahiliani

Reply all
Reply to author
Forward
0 new messages