Research Article

Traffic and Energy Aware Optimization for Congestion Control in Next Generation Wireless Sensor Networks

Algorithm 2

Pseudo-code for F-ANT.
1. While (B-ANT not at source node)
2. Move to reverse direction to select next link between and
3. Pheromone value is updated
4. Update
5. End while