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.
i can replace the folder that i already have with one of this and i won't have a problem ?
It won't generate an error ?
Sorry for my question but i am still a beginner .
Thank you
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Re #946.
Not a good idea to replace ns-2.34/mit/leach_sims/ :
The files will be overwritten if you run ./test
Suggest :
$ mkdir 2014 ,,, and unpack leach_sims__2014.tar.gz in 2014/.
$ mkdir 2015 ,,, unpack leach_sims_03.2015.tar.gz in 2015/.
Doesn't really matter with the folder naming :
The files in leach_sims/ are not used by any other files.
you have to give the proper address of your libraries.
leach.err:
invalid command name "Resource/Energy"
while executing
...
i have same problem.pl guide me.
what do u mean proper address of your libraries?
i read all previous post but didnt see any post that solve this problem.tnx
Hi,
I want to integrate the energy model used in leach protocol, into another routing protocol (i'm using ns2.31 ubuntu 10.04)
i observed that in ns2 energy model (in wireless-phy.cc, pt_consume and rt_cosume are fixed) the energy consumed during the transmission is fixed and thus don't consider the variation of transmission power in the enrgy consumption
please help!
Location: jl. bogor 1 no 91, malang, jawa timur, indonesia
Distribution: any linux
Posts: 81
Rep:
Quote:
Originally Posted by rockben
Hi,
I want to integrate the energy model used in leach protocol, into another routing protocol (i'm using ns2.31 ubuntu 10.04)
i observed that in ns2 energy model (in wireless-phy.cc, pt_consume and rt_cosume are fixed) the energy consumed during the transmission is fixed and thus don't consider the variation of transmission power in the enrgy consumption
please help!
no i didn't
but my quetion is how can i do that ? how can i relate the trasmision power with the energy cunsumption ?
or how can i integrate the leach energy model in ns2 in order to use it in other routing protocols ?( just the energy model )
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.