how to integrate the "Resource/Energy" leach class into NS-2.34?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Knudfl ,
I am really facing very difficulty.Please i need ur help as my final dessertation is very close.
i have installed leach properly when i run leach_test/.test, leach.out file is been creating in leach_sims but it is totally empty.
Next i want to find remaining energy i.e initial-expended I have written code in stats.tcl for it but i dont know how to get result
for it as leach.energy is not getting change.
please it will be really very great if you help me as i have noticed total 33 pages of forum that u have helped many even iam new please consider
Thank u
I am in critical situation. i got no error in leach.err file but i got incomplete output in leach.out. please help me. it is very urgent need for me. we have more confidence on linuxquestions.org and you. because you supported more than 100 users. so please help.
Quote:
Node 94 is DEAD!!!!
Node 95 is DEAD!!!!
At 1.0999999999999999:
Total Energy = 3.727532528144
Total Data = 0
Total Alive = 4
Simulation complete.
num_nodes is set 101
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 222.8
Thanks in advance.
Last edited by goldking123; 07-15-2013 at 12:11 AM.
@ goldking, this output is correct.
Your simulation stops when no. of clusters < k (the value you set in your configuration file)
Quote:
Originally Posted by goldking123
Respected Knudfl sir,
I am in critical situation. i got no error in leach.err file but i got incomplete output in leach.out. please help me. it is very urgent need for me. we have more confidence on linuxquestions.org and you. because you supported more than 100 users. so please help.
Hi deepa_2111
yes i tried all but still my leach.out is showing nothing only displaying num_nodes is set 101.
Please deepa let me also know how leach.energy can be modified to display remaining energy instead expended.
Thanks in advance its really very very urgent
I followed all the steps as you said. but i am unable to get same output as in the reference file (leach.out) and only one TDMAschedule file is created. please tell what are the other modifications i must do in the programs like max_dist is 86. please help me to create a valid nam file also.
Thanks in advance. how can i send my files to you for your verifications. please help me.
and also in leach.out it shows
Quote:
1: Warning!!! No Cluster Head ADVs were heard! - ns-leach.tcl
..
..
99: Warning!!! No Cluster Head ADVs were heard! - ns-leach.tcl
after these lines the nodes starts to dead.
Last edited by goldking123; 07-16-2013 at 05:31 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.