I am trying to implement energy efficient dynamic clustering protocol (eedcp) in ns-2.
I have already implemented LEACH protocol using ns2,followed:
I thought I could make changes in the leach code, but there is an issue with that:
=> leach choses all the cluster heads(CHs) randomly, whereas in EEDCP the terrain is divided in to virtual g
Please I need to implement another clustering algorithm instead of Simulated annealing which better than it to increase node live time and energy saving , So please recommend this algorithm and I need it with C++ code if possible , and what is the functions I need to change at leach-c to implement my new algorithm?.
I;m so sorry but I'm in a bad need for your help
Please help me if possible