LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-27-2014, 10:02 PM   #1
reshmaj
LQ Newbie
 
Registered: Aug 2014
Posts: 1

Rep: Reputation: Disabled
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
 
Old 12-28-2014, 07:25 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,916

Rep: Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689
Quote:
Originally Posted by reshmaj View Post
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
You write the code to do it...or you can look up examples, and modify them to fit your needs.

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.
 
  


Reply

Tags
ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NS2 Code for Energy Based Clustering Routing Protocol in Wireless Sensor Network Sudha Rajaram Programming 6 11-26-2014 05:55 AM
How to set different energy levels to different nodes in ns2 pon Linux - Newbie 0 09-03-2014 04:44 PM
how to set different energy level to different nodes in ns2 Aska123 Linux - Software 0 02-17-2014 03:44 PM
Energy.awk required to compute remaing energy of nodes. Aska123 Linux - Wireless Networking 2 02-02-2014 03:31 AM


All times are GMT -5. The time now is 12:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration