Research Article

Efficient Multidimensional Top- Query Processing in Wireless Multihop Networks

Algorithm 2

Handling member notice message.
(1)/* Procedure of non-cluster-head,  */
(2) CHL , .position} .RoutingTable}
(3) mn
(4)Send mn to the nearest cluster-head from
(5)/* Procedure of cluster head which receives mn from  */
(6) CMCM
(7)for  mn.CHL.entry  do
(8)  if  , RoutingTable.entry.CH = mn.CHL.entry.CH  then
(9)    RoutingTable.entry.CH_position ←mn.CHL.entry.position
(10)     if  Dist(RoutingTable.entry.CH, ) < Dist(RoutingTable.entry.CH, RoutingTable.entry.next_node)  then
(11)      RoutingTable.entry.next_node
(12)   else
(13)     RoutingTable.entry RoutingTable.entry  {mn.CHL.entry,