ns2 code to deploy nodes, assign initial energy values and divide into grids
How to deploy 50 nodes in 100 x 100 m and assign different energy values to them and divide them into grids of 20 x 20 m
|
Quote:
But you need to read the LQ Rules and the "Question Guidelines" link in my posting signature. We are NOT going to give you code or write it for you, but we will be very happy to help you if you're stuck. But you are going to have to show effort of your own. Post what you've written/tried/looked up on your own, along with the relevant details, and we can try to help you. |
Quote:
|
Re #3, @baig7070.
Example grid : pbcast_sim.tcl + p_bcast.tcl http://disc.ece.illinois.edu/downloads/lab108.html >> http://disc.ece.illinois.edu/downloads/pbcast_sim.tcl and http://disc.ece.illinois.edu/downloads/p_bcast.tcl Simulation example : $ ns pbcast_sim.tcl -prob 20 Your code : Please attach as "grid__unique-name.tcl.txt I.e. .txt is the only accepted suffix for attaching text files. Attachments : That's the 'paper clip tool' in the 'Advanced Editor'. - |
Quote:
|
All times are GMT -5. The time now is 08:47 PM. |