[ns] Schedule my function!!

2009-11-23 Thread pedro chaparro
hi, i'm wondering how can i do to schedule an fuction i've created, i wanna dothis Scheduler::instace().schedule(myfunction, ? , time), in the place where is the interrogant (?) i know i have to pass and event, but how must i create this event? i've sawn some file where inthat place it is a

Re: [ns] LEACH or SPIN

2009-11-23 Thread Quoc Huy My Y
you may find some useful information from: http://www.internetworkflow.com/resources/ns2leach.pdf Date: Mon, 23 Nov 2009 11:24:47 +0500 From: fazlullah@gmail.com To: ns-users@ISI.EDU Subject: [ns] LEACH or SPIN To: ns-users@isi.edu Respected Members! Hope every body will be

[ns] Modified NS-energy model

2009-11-23 Thread Antonio Junior
Dear ns-users, Anybody knows if is there a modified ns-energy model that consider a complete aspects from energy expenditure model (such as derived from [Feeney and Nilson in INFOCOM 2001]) ? Thanks in advanced, Antonio Junior PhD Student - Computer Science

[ns] Pure Wireless networking with a BS and two mobile nodes

2009-11-23 Thread Software Quality Center
Hi, I tried to send a packet from one mobile station to another using a base station. It is received by the BS but not received by the second MS. Can you write a few line script to do the same ? Thanks: details of my work: $ns node-config -adhocRouting $opt(adhocRouting) \

[ns] How to run wireless simulation multiple times

2009-11-23 Thread Quoc Huy My Y
Hi everybody, Could you please help me how to use script to run simulation many times? I need to repeat running my simulation many times. I am appreciated your help. Thank you very much, Huy

[ns] changing range

2009-11-23 Thread jeni martin
hi all, i want to change a protocol which when it receives a spesific packet, it increases it's range, and sends data with increased range, and after a while reduce it's range, how can i write code to change the range?   regards

[ns] changing Range in NS

2009-11-23 Thread jeni martin
Hi all, I am writing code in NS which all node are set to have 250 m.In some conditions it is needed to change nodes' range from 250 to 500 m when a node receives a specific packet. I wonder if anybody knows how I can change the range ? cheers