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.
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.
I have installed ns-2.34 on ubuntu and also followed the instructions to install leach on it.I have run simulations successfully to measure network lifetime, energy consumption for different number of nodes.I now want to change the cluster head probability and get the graph for this by changing the CH probabalilty.Where do i change this parameter in the code to get the desired results ??
I have followed many steps from this form and it was too helpful for me in running leach.
I'm using ubuntu platform and at last after completing all the process in the terminal I'm getting nothing to be done.
According to the older posts its not a prob. But, after running the leach_test in the simulation results the file leach.err contains a statement "./leach_test: line 37: ns: command not found"
@ deepa thnx dear
but when ever i run ./leach_test it gives no results.
and in ./test file it is set that ./leach_test file will be running whenever ./test command wil be executed.
can u plz help me where can i deifne mobility for all the sensor nodes.
can you plz help me to generate graphs for leach protocol.
Thank you for helping me. I got rid of that prob.
Now i would like to change the criteria for cluster head changing. So, can please help in finding where i have to change the codes so that it works as required for me....?
what i have done is ,i ran a lot of simulations changing parameters like number of nodes,number of cluster heads and then tabulated the results of network lifetime,energy consumed,data throughput,number of nodes alive.Using these results in word excel i got the graphs.
If in case you are aware of a better methodology to generate graphs please let me know.