If u install NS2, u will see the folder with name of LEACH, u can find the source code of it in c++ there, but in a case u couldnt find it, u may send me a msg, I'll send it to u
I dont think so , ns2.34 doesnt have leach why dont u try install ns2.34 u will not find leach , leach comes with maansim , but u r absolutely correct that helps for clustering, mainly developed for temp, and carbon monixide for brazil
I can try to respond to Ranjeeth Sundar. Yes LEACH is an old protocol, but it is one of the very first with good implementations in NS-2 and Matlab. And it is well-known in the field, thus it is expected that when comparing your work you should probably think of a protocol that is well-known in the field, think of it as kind of a de facto standard (this doesn't mean the LEACH protocol is the best). It is just like using a naive prediction as a benchmark for newer regression models. Naive model is several decades old in Statistics, but it is still used as the benchmark in order to ascertain your work. Using such benchmarks instead helps to better understand what your work is about. Of course it would even be better to compare your work to a few more protocols i.e. other improvements to the LEACH protocol e.g. HEED, DEEC, SEP, SEP-E and DEC. Most of the codes are available online. And one possible way is to use a more realistic framework for experimentation e.g. performing simulation in OMNET++ (Castalia), Cooja etc, to better analyze the radio behavior and packets/ communication paradigm. And it doesn't hurt if you try a real world implementation of these protocols, this is still lacking in literature.
My work actually based on one of the extension of LEACH that is developed in 2013. But as Femi Aderohunmu state that LEACH is the parent protocol for all LEACH extensions and it can be used as a benchmark that is why i want to to compare my work to the specified LEACH child as well as LEACH it self.
Mr.Bhavesh i think Mr.inam has answer for your question, you can compare your work with the latest version of LEACH and also with the PARENT leach.... but the feasibility prediction is tough at this time...also i think it is enough to compare your work with the recent version because anyhow it wll be efficient than parent LEACH....
@Bhavesh Pithva the simple answer is, it doesn't hurt your work to compare a new protocol design to the parent protocol (original idea). In this case lets say you design a new protocol called LEACH-Z, and others designed LEACH-B, LEACH-C, LEACH-D etc. The best approach for any detailed research that is well done is first consider the original idea, lets call it LEACH-A. Maybe the authors of LEACH-B, C, D did not consider certain parameters during their design, which you have currently considered in your LEACH-Z. Thus, it would be appropriate to compare your new protocol to the original Idea (LEACH-A) and then to the variants. This way you have done at least 2 things: 1) You have added a new way of measuring the variants of LEACH-A by introducing new parameters, which the other authors have not considered, 2) You have done a good research work by questioning different holes in the protocol development of the variants.
The above is just one way on why it is necessary to compare your work to the original ideas in whatever field of research it is......remember in WSN majority of these protocols are still not standards!!!!
Is there still some work going on to balance energy consumption on wsn nodes to avoid energy holes or the chapter is closed due to a lot of variants being already produced? Is there any current challenges in this area?