Hi, Thanks for your reply. So can I write separate TCL script for this and add later like dsr.tcl or other protocol. because I want to take more no. of nodes and want to place them in a manner so that the area will be fully balanced with nodes. Because I want to make a algo in WSN where I need to choose Cluster Heads and I want to make a compulsion for every segments that they have minimum one cluster head.
On Sun, Apr 4, 2010 at 6:23 PM, Hoda Hassan <mhel...@aucegypt.edu> wrote: > Hello > You can do that by specifying node coordinates in the tcl script. I have no > idea if it can be done using a function > > On Apr 4, 2010, at 2:44 PM, ashish mohta wrote: > > >> ---------- Forwarded message ---------- >> From: ashish mohta <urash...@gmail.com> >> Date: Sun, Apr 4, 2010 at 5:51 PM >> Subject: Segmenting the Region for placing nodes >> To: ns-users@isi.edu >> >> >> Hello Friends, >> >> I want to divide the Region (can be Grid or any X*Y) in 4 parts to place >> my >> nodes. I want to develop a function for this. But not able to understand >> from where I should start. Please guide me if you can, I need help for >> this >> to improve working of a protocol in ns2. >> >> Thanks >> Ashish >> > >