Research Article

Congestion Control and Prediction Schemes Using Fuzzy Logic System with Adaptive Membership Function in Wireless Sensor Networks

Algorithm 1

Topology construction in Route Create.
Sink node broadcasts Route-Request-Msg to SNi
while (SN is an intermediate node) do
SNi receives Route-Request-Msg and creates
SNi sends Route-Reply-Msg and broadcasts Route-Request-Msg
if  SNi is last hierarchy node then
  sendsRoute-End-Msg
Break
end if
end while