Since the node-config is set in the Simulator instance, the first thing that comes to my mind is to set up node-config in Simulator instance for every single node you want and then start your simulation.
I'm pretty sure this is not the best way. On Tue, May 10, 2011 at 8:42 PM, Bipul Chandra <[email protected]> wrote: > > Hi, > > I am doing my simulation on ad-hoc network and i am using NS-2. I am > creating a bunch of mobile nodes. > However, i don;t want all of these nodes to have same initial energy. > I want to have them different initial energy > > Do any one knows how to override the initial config of a node ? > Any suggestions will be heartily welcomed. > > Regards, > Bipul > > -- Clederson
