Introducing hierarchy in LEACH
I'm working on the modification of the protocol LEACH to introduce the multi-layer hierarchy::
Since in LEACH there are only two hops to the Base Station, one to the clusterHead and another to the BS, I want to make the communication CH-->CH-->BS
with the degree CH-->...-->CH that I want, So can any "LEACHER" help me to modify the LEACH source code in the way that each node will elect itself as a CH, if so it will elect itself as a 2nd degree CH (in the same manner in the original LEACH election)an so on..., So each non-CH node will join the first level most strength CH(based on the strength of the received signal), and each CH will join its topLayer most strength CH and on and on..
In my case i'm trying with only 2 degree of hierarchy.
I'm using TCL language to simulate in ns-2.34
any response will be appretiated .
Last edited by yeomjang; 03-02-2013 at 11:35 AM.