If ((bandwidth is high) and (power is
high) and (speed is low)) then
Increase prob. of forwarding Join Query packet
If ((bandwidth is low) and (power is low)
and (speed is high)) then
Decrease prob. of forwarding Join Query packet
If ((bandwidth is low) and (power is high) and
(speed is medium)) then Do not
change prob. of forwarding Join Query
Algorithm 1