[Ns-edu] Weighted clustering algorithm

Rishikesh Gokhale rgokhale at ECE.NEU.EDU
Sun Feb 8 10:50:06 PST 2004


Hello,

I am very new to NS2 and want to implement a very simple weighted
clustering algorithm. Each node in the network is randomly assigned a
weight and higher weighted nodes are assigned cluster heads. I was
wondering of ways by which each node advertises its weight to its
neighbors. Can someone please tell me (1) how the nodes will store its
weights in its packets to be sent to neighbors and (2) how and where a
node on receiving a packet store its neighbors weight.
Thank you.

Rishi



More information about the Ns-edu mailing list