Hi, You could simply use setdest with a very short simulation time and low speed (something like this)
./setdest -n 200 -p 0.0 -M 0.00001 -t 1.0 -x 500 -y 500 > scen-20-test and then just take the first part of the file, where the positions of the mobilenodes are initialized. Just an idea, not verified. I haven't thought this through entirely. Best, -Matt Am Freitag, 29. September 2006 02:00 schrieb [EMAIL PROTECTED]: > Message: 9 > Date: Thu, 28 Sep 2006 10:31:44 -0400 (EDT) > From: "Sita S. Krishnakumar" <[EMAIL PROTECTED]> > Subject: [ns] generating topology > To: [email protected] > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain;charset=iso-8859-1 > > Hi, > I am interested in generating a random distribution of static nodes for my > simulation. How can I do this in ns-2? I am looking at around 200 nodes > and do not want to hand-generate the topology. > Thanks, > Sita
