Research Article
Energy-Efficient Routing Using Fuzzy Neural Network in Wireless Sensor Networks
Algorithm 2
Neuro-fuzzy routing (FNA) algorithm.
| 1. Neighbor discovery: | | I. Each sensor advertises HELLO packet to discover all neighbors | | II. for each neighbor of do | | III. Sensor obtains its position information using any localization techniques | | IV. If point satisfies Eq. (11) then | | V. Add to | | VI. end if | | VII. end for | | 2. Metric calculation: | | I. for each sensor do | | II. Sensor computes using Eq. (13) | | III. gets | | IV. Sensor computes for using NHSN | | end for | | 3. Next Hop selection: | | I. NH =argmax(), | | II. Sensor sends data packet to the NH |
|